Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: limit output filesize

by davidrw (Prior)
on Jul 08, 2005 at 18:57 UTC ( [id://473539]=note: print w/replies, xml ) Need Help??


in reply to limit output filesize

can you show how your writing to the file? You say stat won't work cause of buffering .. can you just autoflush with $|++ ?

Asking for your code to see if with the print statements it can keep a counter of the bytes written out.. so right there you can close the handle and reopen w/a different filename.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-20 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found