Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

RE: Re: how do i reset a filehandle?

by Zoogie (Curate)
on Jun 01, 2000 at 07:10 UTC ( #15756=note: print w/replies, xml ) Need Help??


in reply to Re: how do i reset a filehandle?
in thread how do i reset a filehandle?

Just to clarify lhoward's answer:
The second parameter for seek is a position, the third parameter is what the position is relative to:

0 Relative to the beginning of the file.
1 Relative to the current position.
2 Relative to the end of the file.

So,

  seek HANDLE,0,0
means to move to index 0 relative to the beginning of the file.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://15756]
help
Chatterbox?
[LanX]: cho: your joke has very limited impact on a non German+Czech speaking board ... we need to create one and invite Lichtkind and "Peta...Monk"

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-03-27 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.