in reply to Re^5: Possible for Map to create Hash of Hash?
in thread Possible for Map to create Hash of Hash?
> If the OP doesn't need it, then no need to do it that way. We have no way of knowing if that's what the OP needs, maybe they don't know about the other solution.
Well the OP explicitly asked for HoHs and said " To create a hash that will allow me to determine if a store has a product I can use: "
I'm no native speaker, but for me this also reads like "if a store has products at all" which is quite complicated with a flat multi-dim hash.
I'm not banning multi-dim hashes both approaches have pro and cons.
Cheers Rolf
( addicted to the Perl Programming Language)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Possible for Map to create Hash of Hash?
by runrig (Abbot) on May 25, 2013 at 14:29 UTC |
In Section
Seekers of Perl Wisdom