On Dec 11, 2007 2:32 PM, Martin Barth <[EMAIL PROTECTED]> wrote: > On Tue, 11 Dec 2007 14:28:01 -0500 > "Chas. Owens" <[EMAIL PROTECTED]> wrote: > > > The seek function has three ways of measuring what the second argument > > means: > > 0: move relative the beginning of the file > > 1: move relative to the current position in the file > > 2: move relative to the end of the file > > Where is this information from? > not from perldoc -f seek :-( snip
It is a restatement of information from the first paragraph. from perldoc -f seek The values for WHENCE are 0 to set the new position in bytes to POSITION, 1 to set it to the current position plus POSITION, and 2 to set it to EOF plus POSITION (typically negative). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/