If it wasn't for the 100MB part, I'd say you could put the file into an
array and use the @array[-150] and so on.  That might get a little sluggish
at that size.

-----Original Message-----
From: Nikko Odiseos [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 5:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Tailing a log



I am trying to snatch the last 150 lines of a file and print that to another
file.  A simple problem but my brain is fried and I need it to be able to
handle files in excess of 100MB.

Thanks!
Nikko

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin


--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to