my %datastore; $datastore{ $name }{ $key } = $keyvalue;
Update: Fixed typo as per japhy's reply.
In reply to Re: Beginners question: assigning a variable as the name of a hash
by dragonchild
in thread Beginners question: assigning a variable as the name of a hash
by Commander Salamander
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |