=pod
Hey fellow GoogleGroup Brothers & Sisters,
I am hoping to ask you all a quick Perl intermediate logic question…
I have called an obj command which returns what I think is a multi-
dimensional array like so
=cut
my @userlist = $obj->command_ok(qw/user list/, "","","");
# it then returns this info I think
# “emailHandle”, “User FullName”
# because it shows Array elements in memory
# foreach of them but not the mapped qw word list hmmmmm

# When I try to map the results to a single non-associated @array,
# I understand Perl’s “map” is ONLY a one-to-one flat array mapping…
# So I understand this map
{ $_ = $$_[0] } @userlist;
#returns me the “emailHandle”  or if I try
{ $_ = $$_[1] } @userlist;
# it of course returns me the “User FullName”
# Is there a way I can combine/join both and return them
asynchronously ?
# Thanks so much …


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to