http://qs1969.pair.com?node_id=241167


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"