Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: number of keys and values in a hashby jethro (Monsignor) |
on Oct 12, 2011 at 19:59 UTC ( [id://931082]=note: print w/replies, xml ) | Need Help?? |
Naturally when you put a print statement inside a loop it prints as often as the loop is executed. And when you have a print statement inside a loop inside another loop, this print statement will be executed much much more often. If you don't want to print so many times, put the print statement AFTER the loop(s).
In Section
Seekers of Perl Wisdom
|
|