Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2018-06-22 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (124 votes). Check out past polls.

    Notices?