in reply to File operations
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: $!";
|
|---|