http://qs321.pair.com?node_id=944881


in reply to Re^3: Displaying/buffering huge text files
in thread Displaying/buffering huge text files

In case it isn't clear, $s is for start, the line to start on. For $fileLastLine I used:
my $fileLastLine = `wc -l ${filename}`; chomp $fileLastLine; $fileLastLine = int ($fileLastLine);