in reply to matching arrays

The first question is why are you using a hash with apparently consecutive numeric keys instead of an array?

The second is does [ 'child', 'male' ] match [ 'male', 'child' ]?

What is the significance of the keys for %occurs?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re: Re: matching arrays
by rsiedl (Friar) on May 25, 2004 at 21:30 UTC
    good point. midnight in vienna and i've been working all day :)

    Yep, they should match regardless of the order they appear in.