in reply to How to store this value in Hash ?

Replace
$fruits{$a} = $b;
by
push @{$fruits{$a}}, $b;
the lowliest monk

Update: Typo fixed. Thanks, Manav & Happy-the-monk.

Replies are listed 'Best First'.
Re^2: How to store this value in Hash ?
by manav (Scribe) on Mar 21, 2005 at 12:06 UTC