perl -e "print scalar (localtime)[6]" syntax error at -e line 1, near ")[" Execution of -e aborted due to compilation errors.