in reply to short method to print age.
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";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: short method to print age.
by zouz (Initiate) on Mar 05, 2009 at 19:42 UTC |