And this will work also:

map {$tmp->{$_}->{text}} @sortedkeys


Karjala wrote:
Try this:
map {$_->{text}} @[EMAIL PROTECTED]

Ryan Perry wrote:
@[EMAIL PROTECTED]>{text}

I want to get all the "text" values for a set of keys in a hashref, but the above code always gives me only the first in @sortedkeys.

Thanks for any assistance!

Ryan

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










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


Reply via email to