Stephen Brown on Fri, 20 Sep 2002 08:10:32 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] OT: Perl question


Arthur S. Alexion wrote:
>>Now, I
am getting the error
Unrecognized character \xA0 at install.pl line 22.
As line 22 has nothing unusual in it, I am wondering whether Perl skips comments at the begining of a script in calculating the line number?

No, unless they are doing something special it is actual line number in the file. (They can create dynamic code and then eval it in which case the error would be based on the lines in the dynamic code).


Any ideas what character \xA0 might be?

It is something non-ascii - if it is and escape code in a string in the code, then
the author might have intended to have 0x0A (LF a.k.a. \n) instead.


If you have hexedit or emacs with hex mode on your system open it with that and poke around, probably the file got corrupted somewhere along the line.

Steve

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug