Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perlscript is not generating output in files

by Fletch (Chancellor)
on Jun 23, 2011 at 17:59 UTC ( #911123=note: print w/replies, xml ) Need Help??


in reply to Perlscript is not generating output in files

ALWAYS CHECK THE RETURN VALUE OF SYSTEM CALLS SUCH AS open.

open( my $fh, '>', "bar" ) or die "Can't write to bar: $!\n";

The cake is a lie.
The cake is a lie.
The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://911123]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2016-12-02 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (50 votes). Check out past polls.