Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Tracking Lines Printed to a FileHandleby waswas-fng (Curate) |
on Dec 02, 2004 at 17:43 UTC ( [id://411879]=note: print w/replies, xml ) | Need Help?? |
You could make a sub that does the counting and dirty work of opening new files, closing full files, printing the lines to the files and call that in place of print OUT "lala\n"; in your code...
-Waswas
In Section
Seekers of Perl Wisdom
|
|