in reply to Complex Data Structure Suggestions Wanted

You don't need the exists test; perl will autovivify to DWYM, so the first branch of your test actually works for both conditions. And if you want to use "indirect" (arrow?) notation, then:

push @{$HashRef->{$ItemID}}, $DataSource;
BTW, I could be all wrong on this, but I think that the term "indirect notation" is typically used to refer to stuff like
my $obj = new Thingie;
as opposed to
my $obj = Thingie->new();

the lowliest monk

Replies are listed 'Best First'.
Re^2: Complex Data Structure Suggestions Wanted
by Ninthwave (Chaplain) on Jun 07, 2005 at 12:17 UTC

    You are correct on the indirect definition an dit is defined at least in the above mention book as indirect object notation. I wonder what the Nomenclature the ->. Something interesting to look up while researching.

    Thank you your notation makes the most sense in one line for what I was trying to do. And I didn't even want to play golf with it ;)

    "No matter where you go, there you are." BB