in reply to Re^2: Looking for syntactic shortcut
in thread Looking for syntactic shortcut

Try:
perl -e "print((localtime)[5])"
or:
perl -e "print+(localtime)[5]"
Quiz: can you explain why:
perl -e "print (localtime)[5]"
gives a syntax error?