You can try hexdump -C script.pl to inspect it even further.
Chances are that your system's nroff (or whatever manpage processor you're using) substituted some quotes with a "fancy" quote that now causes trouble.
In reply to Re: "Unrecognized character" stops perl cold
by moritz
in thread "Unrecognized character" stops perl cold
by andyford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |