in reply to if multiple arg return or single fail?
my ($x, $y) = mysub(); if (defined $x and defined $y) { # do stuff... } else { #returned single zero. # do other stuff... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: if multiple arg return or single fail?
by raybies (Chaplain) on Mar 07, 2011 at 16:55 UTC |