Yes, Perl takes care of that for you. The sub returns a list of values from the hash, and the assignment turns that list back into a hash. (You could return a hash, and assign to an array, you'd then get an array containing the keys and values of the hash, alternated.)
That make any sense?
C.
In reply to Re: Re: Re: Re: Re: Returning multiple values from a function
by castaway
in thread Returning multiple values from a function
by Grygonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |