in reply to grep in hash of array

Are you certain that's $xml and not %xml?

In any event, it's your structure. Will you always be looking $key3 in $cml{$key1}{$key2}{Orange}{$key3}? If so, you need three loops. Are you saying Orange can be a key anywhere in the structure?

What I'm trying to say (poorly) is that a little more in the way of detail will result in a more focused answer being produced.

Replies are listed 'Best First'.
Re^2: grep in hash of array
by davorg (Chancellor) on Aug 05, 2008 at 13:51 UTC