Complex data structures
my $user = [
{
username => 'jbloggs',
fullname => 'Joe Bloggs'
},
{
username => 'bsmith',
fullname => 'Bob Smith'
}
];
print $user->[1]->{fullname}, "\n";
Bob Smith
print ${$$user[1]}{fullname}, "\n";
Bob Smith