in reply to Dereferencing Array of Hashes

Remove the reference operator in front of the anonymous hash on line 14 and then change $$user_list to $user_list. If you *really* must dereference the anonymous hash reference then you'd do it like so
${ $user_list[$num_users - 1] }->{lastname} = $lastname;
But you almost certainly don't want to do that. See perlreftut and perlref for more info.
HTH

_________
broquaint