And perhaps what can you help as well is playing with the code you posted:
This sets the first element of the array to the hash {email => 'email@email', timestamp => time} (the {array} in your example seems to be redundant). And to set the second element of the array:$hash{key}[0]{email} = 'email@email'; $hash{key}[0]{timestamp} = time;
$hash{key}[1]{email} = 'email@email'; $hash{key}[1]{timestamp} = time;
In reply to Re: Hashes & Arrays
by zby
in thread Hashes & Arrays
by Bugorr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |