in reply to Simulating UNIX's "tail" in core Perl
my @file = <FILE>; for( my $i=0; $i<$MAXLINES; $i++ ) { print pop @file; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Simulating UNIX's "tail" in core Perl
by hurstdog (Initiate) on Mar 07, 2001 at 05:40 UTC |