Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Read log which is being updated continuisly

by bimleshsharma (Beadle)
on Sep 20, 2012 at 10:30 UTC ( [id://994624]=note: print w/replies, xml ) Need Help??


in reply to Re: Read log which is being updated continuisly
in thread Read log which is being updated continuisly

Yes you are right but File::Tail->read has capability to read file. Anyway i tried below but still not success.
use File::Tail; my $name="/some/file/toread/"; my $ref=tie *FH,"File::Tail",(name=>$name); while (<FH>) { print "$_"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found