in reply to begin with perl
I'm guessing the file is encoded using UTF-16, and that your Perl doesn't support UTF-16 source files. (Mine seems to, but maybe that's something ActiveState adds to their Perl???) Save it as UTF-8 instead, then tell Perl it's UTF-8 using use utf8;.
By the way, it doesn't make sense to have two #! lines. Furthermore, the #! sequence has to be the first two characters of the file, and it's not in your case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: begin with perl
by Anonymous Monk on Oct 31, 2011 at 02:34 UTC | |
by ikegami (Patriarch) on Nov 01, 2011 at 23:58 UTC |