On Fri, 03 Feb 2006 14:07:11 +0200, Brent Clark wrote:
> I tried the following:
>
> $list = values %{ $xmlData->{'misc_links'}->{$linkName}};
>
> Which gives me a answer of one, not the correct answer, but its answer
> at least for now.
Well there you are calling the values() function in scalar context.
That's not likely to be as useful as calling it in list context.
($list) = values ...
--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>