in reply to Re: array element return syntaxin thread array element return syntax
my ($y, $m, $d) = @{[localtime(time)]}[ 5, 4, 3 ]; [download]
These construct an array, which makes them slower.