P is for Practical | |
PerlMonks |
RE: Re: Remote Pipeby mdillon (Priest) |
on May 31, 2000 at 05:57 UTC ( [id://15553]=note: print w/replies, xml ) | Need Help?? |
[ if you are using the latest version of Perl (5.6) ]
try opening TMP like this:
open(TMP, '>', $tmp) || die "Couldn't open $tmp: $!";
note, die adds a line break on its own so it is
not necessary to put one in your message.
p.s. a pox upon the houses of those who would unduly censure me with their '--' votes. was it because my sub-par code didn't work in your version of Perl? or because i do not fully grasp the intricacies of 'die'? die $haters if $haters->dont_know_jack();
In Section
Seekers of Perl Wisdom
|
|