Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: error in printing output of Data::Dumper to file

by moritz (Cardinal)
on Dec 10, 2012 at 08:02 UTC ( #1008065=note: print w/replies, xml ) Need Help??


in reply to error in printing output of Data::Dumper to file

Remember to close the file handle after writing.

Perl closes the file handle for you automatically at program exit, but if you try to re-read the file from the same process, or maybe kill your program, that might not happen, or too late.

  • Comment on Re: error in printing output of Data::Dumper to file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008065]
help
Chatterbox?
LanX oh my god it's full of hacks!!! ...
[holli]: what? the pm code you swindled your way into?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-11-20 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?