in reply to Re: Soft Array Refs
in thread Soft Array Refs

Thanks Stevie.

I regretted posting it about 30 minutes later after I had two words for myself: "associative arrays", aka a hash.

Up to now, I've gotten by with arrays for everything but now I see a true need for using a hash.

Replies are listed 'Best First'.
Re^3: Soft Array Refs
by shawnhcorey (Friar) on Jun 24, 2015 at 12:25 UTC

    Rule of thumb: If order matters, use an array; otherwise use a hash.

    Most of the time, you should use a hash because of its expressive power. You can think of a hash as a miniature symbol table, if it helps. :)