I\'m a total Perl newbie, so forgive me if this is really stupid, but I can\'t figure this out. If I have an array like this:
my @array = ( {username => \'
@array contains hash references, so you need to use -> to derefecence.
@array
->
print "$_->{username} : $_->{email}\n" foreach (@array);
See also the documentation, for instance perldoc perlreftut and perldoc perlref.