How do you print the last line in a file without printing all the lines in the file. Thanks.open(FH, "< $err_out") or die "can't open LOG FILE $!"; while (<FH>) { print "$_" } close FH;
Edit kudra, 2001-08-22 Added code tags
In reply to Print last line in a file by dreman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |