Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: calling sub and returning value from the same line

by jdalbec (Deacon)
on Jan 09, 2005 at 20:43 UTC ( [id://420744] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    unless (open FH, ">$_[0]") {
            error($!, "not able to write to file $_[0]");
            return undef;