in reply to Show count before data output
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.use IO::Scalar; tie *STDOUT, 'IO::Scalar' => \my $stdout; find( \&fetcher, "/directory" ); untie *STDOUT; print "\n\nTotal Count = $ct\n\n"; print $stdout;
_________
broquaint
|
|---|