in reply to seek question
Add this after your seek:
seek does not reset the line number to 0. The Range Operators use $. in this context.print "$.\n";
Note: my $ should be my $f
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: seek question
by natxo (Scribe) on Feb 09, 2017 at 21:25 UTC |
In Section
Seekers of Perl Wisdom