in reply to error: unrecognised character \xC2 at the end of line
The "-w" part tells Perl to 'use warnings;'
The 'print("Hi");' is the input to Perl.
So make a file "hello.pl" with:
on Unix, you should just at least add "X" execute to permissions for at least u+x, (see chmod command).#!usr/bin/perl -w print "hello world\n";
Don't mess with fancy command line single line programs until you understand how to do this the "normal way".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: error: unrecognised character \xC2 at the end of line
by bdalzell (Sexton) on Dec 28, 2011 at 22:14 UTC |