Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by moritz (Cardinal)
on Dec 10, 2012 at 08:02 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1008065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-24 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found