How do I loop until the value of variable changes?
In this example at some point the value of $foo
will change and I can continue
It seems that I need to re-eval the value some how
$bar = foo ;
$foo = qx(os_cmd); # sets $foo to foo
while ($foo eq $bar) {
$foo = qx(os_cmd);
print "Print loop forever \n";
}
This just loops forever It never sees that the value
of $foo because it's in the loop. What an I missing
-mark
-
Mark Richmond <[EMAIL PROTECTED]>
Airvana Inc.
25 Industrial Ave.
Chelmsford, MA 01824
Voice: 978-250-2669
Fax: 978-250-3910
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]