Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Reading from an appended file

by blazar (Canon)
on Oct 17, 2005 at 13:39 UTC ( [id://500721]=note: print w/replies, xml ) Need Help??


in reply to Reading from an appended file

This is another faq in just a few minutes. Well, sort of: in any case you may be interested in checking what perldoc -q tail has to tell you. To quote from it:
First try seek(GWFILE, 0, 1); The statement "seek(GWFILE, 0, 1)" doesn't change the current position +, but it does clear the end-of-file condition on the handle, so that the next <GWFILE> makes Perl try again to read something.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-16 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found