in reply to Re: reading the file using the line number
in thread reading the file using the line number
perl -ne 'print if $. = $number; exit if $. > $number;'
You probably want '==', not '=', there.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|