There's more than one way to do things | |
PerlMonks |
Re: Using loops inside an 'if' statementby thinker (Parson) |
on Oct 02, 2003 at 09:36 UTC ( [id://295868]=note: print w/replies, xml ) | Need Help?? |
Hi jonnyfolk,
There is nothing wrong with putting a while in an if statement. The problem you have is a syntax error. Change
Notice the order of the brackets Hope this helps thinker
In Section
Seekers of Perl Wisdom
|
|