If you want it continually updated you might try File::Tail
http://search.cpan.org/author/MGRABNAR/File-Tail-0.98/Tail.pm

otherwise, use File::ReadBackwards
http://search.cpan.org/author/URI/File-ReadBackwards-0.99/ReadBackwards.pm

Tanton
----- Original Message -----
From: "Admin-Stress" <[EMAIL PROTECTED]>
To: "perl" <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 7:23 AM
Subject: tailing a text file


> Hi,
>
> Anyone have the fastest and efficien way to tail a text file ?
>
> suppose I have a text file "example.txt" and I want to print the last X
lines.
>
> Thanks.
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to