Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Ruby Programming Language

Changing variables mid-script

Yes. You could use a signal handler or DRb, for example. For signals,
put this somewhere before your while loop:

trap "USR1" do
   $connect = false

Then "kill -USR1 <insert-your-pid-here>" will cause $connect to become

DRb is more complicated, but exposes a much richer interface.

       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc