in reply to Re: Pattern Matching With Regular Expressions
in thread Pattern Matching With Regular Expressions
The "seek" function (perldoc -f seek) can reposition the pointer to any position in the file; a typical place to go is back to the beginning:
seek FILE, 0, 0; # position file pointer at start of file
|
|---|