It does, depending on context. See Context aware functions - best practices? for an example of this.
It will all look like arrays(Assuming list context.) Make that "lists" instead. A bunch of values are returned, and as you say yourself, that's a list.
If you really want to return a list but the whole list is stored in an array you can do return @stuff[0..$#stuff];
ihbIn reply to Re: Re: Returning lists vs arrays
by ihb
in thread Returning lists vs arrays
by rir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |