more useful options | |
PerlMonks |
Re: Reading specific lines in a fileby Discipulus (Canon) |
on May 20, 2014 at 08:34 UTC ( [id://1086749]=note: print w/replies, xml ) | Need Help?? |
if you are talking about linenumber $. is for you:
HtH L* UPDATE: perl -ne 'print if 15 .. 17' *.pod
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|