in reply to Re: How to build a hash?
in thread How to build a hash?
(example not tested)my %my_hash; sub my_store($\%){ my($key,$ref) = @_; $my_hash{$key} = {%$ref} }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to build a hash?
by davorg (Chancellor) on Apr 25, 2005 at 13:10 UTC | |
by Ben Win Lue (Friar) on Apr 25, 2005 at 13:20 UTC | |
by davorg (Chancellor) on Apr 26, 2005 at 15:16 UTC |