in reply to Re: Re: I've read perlref
in thread I've read perlref
Did you ever try to return multiple values from a subroutine?
sub multi { return 1,2,'a','b',3,4; }; print $_ for (multi);
It's not as nice as Pythons way, where you can return multiple arrays without having to think about references, but it's certainly transparently possible.
|
|---|