in reply to Re: error: unrecognised character \xC2 at the end of line
in thread error: unrecognised character \xC2 at the end of line
The "Hi" might be hiding by prefixing your shell prompt, since you omitted the "\n".
If you don't have hexdump then try od -xc filename.pl