in reply to Consolidating nstore arrays
You might like Path::Iterator::Rule; it's very powerful. See the SEE ALSO section for a discussion of alternatives.