This one returns an array
#return @found; # this does not return correctly.This returns a reference to an array
#return [qw/One Two Three/]; #this will return correctly.What you need is
return \@found;that transforms your array into a reference, as needed by the code that calls GetUsers
Ciao, Valerio
In reply to Re: Returning array values
by valdez
in thread Returning array values
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |