$num = 20; while ($num < 30) { print "num is $num\n"; ++$num; }
Although, good pick up on the syntax error with the line - $while($num<30){ - Although this had been addressed previously within this thread.
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
In reply to Re: Re: while loops
by rob_au
in thread while loops
by root
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |