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 reply to Re: Running 2 scripts at once
by muba
in thread Running 2 scripts at once
by Dipseydoodle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |