.@last=lastlines(\@a,\@b,\@c); print "@last\n"; sub lastlines { my @retlist=(); foreach my $aref(@_) { push @retlist,pop @$aref; } return @retlist; }
In reply to Re: how can i read only the last line of a files
by perladdict
in thread how can i read only the last line of a files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |