in reply to Re^2: number of keys and values in a hash
in thread number of keys and values in a hash
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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: number of keys and values in a hash
by veerubiji (Sexton) on Oct 13, 2011 at 09:13 UTC |
In Section
Seekers of Perl Wisdom