|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Running 2 scripts at onceby muba (Curate) |
| on Nov 14, 2012 at 00:56 UTC ( #1003726=note: print w/ replies, xml ) | Need Help?? |
|
Also, be aware that while ($on = "true") assigns. If you want to check if $on is equal to some value, you'd use == for numerical comparisons and eq for string comparisons. See perlop. So what you want is while ($on eq "true") .
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||