Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2016-08-29 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (400 votes). Check out past polls.