in reply to Re: Re: XML::Simple and arrays
in thread XML::Simple and arrays
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?
"Sidney Morgenbesser"
In Section
Seekers of Perl Wisdom