Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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.


Comment on Re: Perlscript is not generating output in files
Download Code

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 having an uproarious good time at the Monastery: (8)
As of 2015-07-08 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls