in reply to printing element of anonymous array
perl -e 'print ((gmtime(time))[6]);' [download]
PS - technically, it's a list, not an anonymous array, being returned by gmtime.
Dave.