Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Tracking Lines Printed to a FileHandle

by waswas-fng (Curate)
on Dec 02, 2004 at 17:43 UTC ( [id://411879]=note: print w/replies, xml ) Need Help??


in reply to Tracking Lines Printed to a FileHandle

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://411879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found