in reply to Return Value Problem
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
|
|---|