#!/usr/bin/perl -w use strict; if (open (FH, $ARGV[0])) { seek FH, -100, 2; while (<FH>) { print $_; } close (FH); }
In reply to Re: tail a file in perl
by Jaap
in thread tail a file in perl
by gnu@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |