$ perl -e "$now = localtime(); print $now;" syntax error at -e line 1, near "=" Execution of -e aborted due to compilation errors.