![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: Re: XML::Simple and arraysby arturo (Vicar) |
on Mar 07, 2003 at 16:29 UTC ( #241167=note: print w/replies, xml ) | Need Help?? |
That should be grep { $_ eq $chk } keys %{ $rules->{CI} };, because without the braces, the % deferences the $rules hashref and not the $rules->{CI} hashref. See References quick reference for more illumination. HTH! If not P, what? Q maybe?
In Section
Seekers of Perl Wisdom
|
|