Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: rewinding an input filehandle

by chas (Priest)
on Jul 28, 2005 at 19:30 UTC ( #479105=note: print w/replies, xml ) Need Help??


in reply to rewinding an input filehandle

You can use seek, e.g. seek F,0,0 to reset to the beginning of the file.
chas

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://479105]
help
Chatterbox?
TStanley realizes that he has been a monk for over 17 years...
talexb concurs .. almost 16 years here.
[TStanley]: Time flies when you're busy :D

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-06-23 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (547 votes). Check out past polls.