in reply to Re: while loops
in thread while loops
$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'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: while loops
by Glyndwr (Initiate) on Jan 11, 2002 at 19:11 UTC |