in reply to Checking number of values returned
I'd say that unless you habitually and religiously always assign your functions to individual scalars, eg: my( $x, $y, $z ) = yourfunc();, then there is no way to do this check.
If you assign your function to:
then there is no way to know how many values it should return.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checking number of values returned
by jfrm (Monk) on Feb 09, 2015 at 09:39 UTC | |
by BrowserUk (Patriarch) on Feb 09, 2015 at 13:09 UTC |