Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: File seek

by soonix (Deacon)
on Feb 25, 2013 at 10:49 UTC ( #1020494=note: print w/ replies, xml ) Need Help??


in reply to File seek

I wouldn't name an input file "OUTPUTFILE", but that doesn't disturb perl.
The seek seeks from EOF, so negative offset is OK, if the file is longer than 500 bytes, so error checking would be better.

However, you are opening OUTPUTFILE and then seeking on CONFIRMEDOUTPUTFILE...


Comment on Re: File seek

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-07-10 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls