http://www.perlmonks.org?node_id=1210285


in reply to printing element of anonymous array

alternatively

perl -e 'print [gmtime(time)]->[6];'