XP is just a number | |
PerlMonks |
Re: Check if at least one element of array is bigger than Xby syphilis (Archbishop) |
on Apr 08, 2010 at 06:44 UTC ( [id://833450]=note: print w/replies, xml ) | Need Help?? |
but not print it 4 times The other solutions are better, but you could just print the message the first time only (untested): This would allow you to (if needed) iterate through the whole loop, but display the message only once. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|