in reply to grep in hash of array
grep does not work that way. grep searches through a list and returns the elements for which a given predicate is true.
It seems to me, from the name of your variable, that you would be better served by a different tool, in this case XML::LibXML or XML::XPath or XPath expressions in general.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: grep in hash of array
by rose (Beadle) on Aug 05, 2008 at 12:19 UTC | |
by Corion (Patriarch) on Aug 05, 2008 at 12:20 UTC |