Alternatively do not return a reference, just return a list. This can be done by ommiting the \:my $ref = getfiles(); my @uploads = @$ref;
return @aref;
In reply to Re: sub functions return array's
by cdarke
in thread sub functions return array's
by Karger78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |