Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: File seek

by soonix (Monsignor)
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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020494]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-07-25 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (381 votes). Check out past polls.