in reply to Re: array or scalar, that's the question
in thread array or scalar, that's the question
I just thought there's a better way then mine to know what it returned, but if you suggest that what I did is good then what that's good enough for me.if ($x) { return $foo; # returns scalar }else{ return @bar; # returns array }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: array or scalar, that's the question
by Fastolfe (Vicar) on Jan 02, 2002 at 00:13 UTC | |
by Juerd (Abbot) on Jan 02, 2002 at 00:21 UTC | |
by Fastolfe (Vicar) on Jan 03, 2002 at 00:01 UTC |