We don't bite newbies here... much | |
PerlMonks |
Re: File operationsby Eily (Monsignor) |
on Nov 20, 2015 at 13:34 UTC ( [id://1148233]=note: print w/replies, xml ) | Need Help?? |
As GotToBTru said, it's probable $content doesn't contain anything. Isn't there a way to check if the command failed with whatever module you're using? Though here the problem probably isn't with the file, it can happen, and you can get that kind of information by checking the return value of print: print DATA $content or die "Couldn't write to file: $!";
In Section
Seekers of Perl Wisdom
|
|