note
scorpio17
Yes, that should work.
Then to add a new website/type, you could do this:
<code>
push( @{ $hoh{$user}{'Website'} }, 'website4');
push( @{ $hoh{$user}{'type'} }, 'type4'};
</code>
<p>and to get all websites for a given user:
<p>
<code>
my @websites = @{ $hoh{$user}{'Website'} };
</code>
<p>
The syntax looks strange because you're storing an array ref, and have to dereference it.
963237
963253