We don't bite newbies here... much | |
PerlMonks |
Re: HowTo retrieve the position in a file from the FHby reasonablekeith (Deacon) |
on Mar 13, 2006 at 16:41 UTC ( [id://536302]=note: print w/replies, xml ) | Need Help?? |
You just want to use setpos, instead of seek.
getpos returns an "opaque value" that represents the position in the file, it isn't just a numeric offset.
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|