in reply to Re: move down 2 lines in file?
in thread move down 2 lines in file?
Changing $. does not move the file pointer. The only way to skip ahead without actually reading would be to use seek() which doesn't mix well with buffered variable-length line-oriented operations.
--
[ e d @ h a l l e y . c c ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: move down 2 lines in file?
by Lawliet (Curate) on Jul 11, 2008 at 19:30 UTC | |
by johngg (Canon) on Jul 11, 2008 at 22:13 UTC |
In Section
Seekers of Perl Wisdom