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

Re: reading files

by space_monk (Chaplain)
on Oct 31, 2012 at 10:51 UTC ( #1001647=note: print w/ replies, xml ) Need Help??


in reply to reading files

From what I'm reading, I really think you should be approaching the problem differently. This might be heresy on here, but rather than writing some fancy PERL, maybe you should be letting your system do the work for you?

What you're describing really sounds as though its something that should be written to the system log and tracked there. Then there are nice friendly tools to rotate your logs and ensure they don't get out of hand :-)


Comment on Re: reading files
Re^2: reading files
by Anonymous Monk on Oct 31, 2012 at 11:00 UTC
    or you can like, TAIL the log instead of CATing it :) tail -n 100

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-11-22 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (120 votes), past polls