Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 studying the Monastery: (11)
As of 2016-09-28 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (533 votes). Check out past polls.