Hello,here, I want to get some numbers of end-lines from a file,under unix shell,I can do:
$ tail -2000 file.txt or I can do it in perl script: my $lines = `tail -2000 file.txt`; I want to know,is there a pure perl way to do that without using the 'tail' unix command?