Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: File operations

by Eily (Monsignor)
on Nov 20, 2015 at 13:34 UTC ( [id://1148233]=note: print w/replies, xml ) Need Help??


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: $!";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148233]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-18 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found