Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Read log which is being updated continuisly

by bimleshsharma (Beadle)
on Sep 20, 2012 at 10:30 UTC ( #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
Node Status?
node history
Node Type: note [id://994624]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-08-21 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (317 votes). Check out past polls.

    Notices?