Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Further On Down the Line

by ikegami (Patriarch)
on Apr 11, 2009 at 23:09 UTC ( #757064=note: print w/replies, xml ) Need Help??


in reply to Further On Down the Line

You're using the same var name for the file handlename and the file handle.

open($mainfilepath, "> $mainfilepath");

I don't know if that's your problem, but it definitely needs fixing. It needs error checking too, if only or die $!

Update: I guess I made a similar mistake! Fixed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-01-18 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?