in reply to Re^3: Possible for Map to create Hash of Hash?
in thread Possible for Map to create Hash of Hash?
> Anyway, you can ask topic starter why he need split, while he just needs to
> > to determine if a store has a product
With the nested approach he can also use things like keys %{$hash{$store}} to list all products.
The delimiter approach is a nice idea, but is neither shorter to write nor more efficient.
Cheers Rolf
( addicted to the Perl Programming Language)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Possible for Map to create Hash of Hash?
by vsespb (Chaplain) on May 11, 2013 at 14:36 UTC | |
by Anonymous Monk on May 11, 2013 at 14:56 UTC | |
by LanX (Saint) on May 11, 2013 at 15:44 UTC | |
Re^5: Possible for Map to create Hash of Hash?
by runrig (Abbot) on May 24, 2013 at 21:37 UTC | |
by LanX (Saint) on May 24, 2013 at 22:11 UTC | |
by runrig (Abbot) on May 25, 2013 at 14:29 UTC |
In Section
Seekers of Perl Wisdom