in reply to Returning multiple values from a function
Perhaps you want:
andreturn \%results, $type;
my ($results_hashref, $type) = findResults(); foreach my $key (sort keys %$results_hashref) { ... } # etc
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|