#!/usr/bin/perl use File::ReadBackwards; $fh = File::ReadBackwards->new('/var/squid/logs/access.log') or die "can't read file: $!\n"; while ( defined($line = $fh->readline) ) { print $line ; }
No comments:
Post a Comment