[thelist] perl: show me the last n lines from this file

Sam-I-Am sam at sam-i-am.com
Thu May 31 17:28:17 CDT 2001


follow up: I did get this working in the end. 
I was using an NT box, so tail wasn't available (well in truth I had the
cygwin port but I couldn't figure out how to use it)

But I came across a little snippet at perlmonks.com that did what I
wanted:
<http://www.perlmonks.com/index.pl?node_id=63906&lastnode_id=1967>

It's inexact, but that works fine for my purposes - I'm just interested
in the most recent accesses/errors in my server log files, so I can see
what's going on while I'm developing and testing (from remote machines)

thanks for all your replies,

Sam




More information about the thelist mailing list