Wrong syntax for adding to a hash. Use this:$hashref{name}={data1=>"moredata",};
$hashref{name}{data1} = "moredata";
In reply to Re: how do I use a hash of hashes reference in a function ?
by merlyn
in thread how do I use a hash of hashes reference in a function ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |