I can't run a perl program after saving it as an .rtf using TextEditor then changing file extension to .pl.
Very frustrating. I am switching from Windows Strawberry Perl to Mac OS X Perl v5.12.3.
The terminal feeds back:
Backslash found where operator expected at hello.pl line 1, near "rtf1\"
Backslash found where operator expected at hello.pl line 1, near "ansi\"
Backslash found where operator expected at hello.pl line 1, near "ansicpg1252\"
Backslash found where operator expected at hello.pl line 1, near "cocoartf1138\" ..... and so on
Am I renaming the file incorrectly?
Very frustrating. I am switching from Windows Strawberry Perl to Mac OS X Perl v5.12.3.
The terminal feeds back:
Backslash found where operator expected at hello.pl line 1, near "rtf1\"
Backslash found where operator expected at hello.pl line 1, near "ansi\"
Backslash found where operator expected at hello.pl line 1, near "ansicpg1252\"
Backslash found where operator expected at hello.pl line 1, near "cocoartf1138\" ..... and so on
Am I renaming the file incorrectly?