![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: error in printing output of Data::Dumper to fileby quester (Vicar) |
on Dec 10, 2012 at 07:19 UTC ( [id://1008060]=note: print w/replies, xml ) | Need Help?? |
It works for me (perl 5.14.3, Fedora 17 Linux.) The script should die if there is a permission problem preventing you from creating or writing to the file, so... have you double checked that it actually reaches the open and print statements in your second snippet? It's often difficult to debug a script when only sections of it are posted; the bug is often a subtle interaction between the parts of the script that you are already suspicious of and the ones that are already known to be "correct."
In Section
Seekers of Perl Wisdom
|
|