P is for Practical | |
PerlMonks |
Re: Show count before data outputby broquaint (Abbot) |
on Jun 23, 2003 at 12:46 UTC ( [id://268136]=note: print w/replies, xml ) | Need Help?? |
The lazy way would be to tie up STDOUT e.g
Or you could change your code to build up the output then display the accumulated output after the total count. See. IO::Scalar for more info on the hack above. HTH
_________
In Section
Seekers of Perl Wisdom
|
|