|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: move down 2 lines in file?by halley (Prior) |
| on Jul 11, 2008 at 18:46 UTC ( #697057=note: print w/ replies, xml ) | Need Help?? |
|
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. --
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||