in reply to Re: seek question
in thread seek question

oooh, I like the inline method of resetting $. that you provided in that thread:

seek $FH, $. = 0, 0;

Replies are listed 'Best First'.
Re^3: seek question
by Anonymous Monk on Feb 10, 2017 at 16:48 UTC

    Keep in mind though that the seek will fail for streams, named pipes and the like. (/me's thinking of all the kludgy softwares out there e.g. mplayer that couldn't properly read a playlist from a pipe.)