Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: "Resetting" a file handle

by lhoward (Vicar)
on Feb 01, 2001 at 23:36 UTC ( [id://55813]=note: print w/replies, xml ) Need Help??


in reply to "Resetting" a file handle

Assuming that FH is a filehandle to a "real" file and not something like a pipe you can just do:
seek FH,0,0;
See the seek documents in perlfunc for more info...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://55813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found