in reply to short method to print age.
This mimics what you do.
Caution: Contents may have been coded under pressure.
Obviously the reverse isn't necessary unless you really want it.print "Alex children are \n\n " , join("\nand ", map $_->{age}, reverse @{$alex{children}}) , "years old\n";
Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom