Please post the code that you are using; this code does not compile because of syntax errors. The elsif needs a condition, and the else should not have a condition.elsif { $OCT1_COUNT++; } else (($NUM1 < 1) && ($NUM1 > 10))
Update: The OP has completely replaced the original code since I posted this response.
In reply to Re: Perl script asking question and staying in a loop
by toolic
in thread Perl script asking question and staying in a loop
by TheBigAmbulance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |