in reply to Returning array values
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Returning array values
by blackadder (Hermit) on Jul 29, 2002 at 10:52 UTC | |
by valdez (Monsignor) on Jul 30, 2002 at 09:11 UTC |