in reply to
Re: Print some lines in a range
in thread
Print some lines in a range
Nice, but that doesn't stop reading the input file after line 50001 as the OP asked.
Comment on
Re^2: Print some lines in a range
In Section
Seekers of Perl Wisdom