In principle, you return more than one value by returning a list.
e.g.
perldoc perlsub has the details of subs, parameter passing and return values. Also relevant is the wantarray function, see perldoc -f wantarray.return ('foo', 'bar'); return @out;
--
I'm Not Just Another Perl Hacker
In reply to Re: Return Value Problem
by rinceWind
in thread Return Value Problem
by Ronnie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |