Author of:
and maintainer of:
I have lived with this issue for a VERY long time, now it is time to do something about it.
When I program Perl and I type || in BBEdit I get the following error when compiling:
Unrecognized character \xCA
If somebody knows what the problem is, I am very interested
Well... (Score:1)
So why wouyld BBEdit replace a normal space with a non-breaking space? It doesn't quite add up.
Re:Well... (Score:2)
alt+spacecombination inserts this character, so writing code like:open(FIN "<$file") || die "Unable ...Triggers this often, resulting in compilation error
Re:Well... (Score:2)
So just get into the habit of writing
instead.
Re:Well... (Score:2)
orI cannot remember why I went back to||Silly me
Solution (Score:2)
Re:Solution (Score:2)
|is located oniand is activated using it in combination withalt. So it is simply because of speedy typing and unfortunately it does not show up in the editor.thanks for the response pin-pointing the problem
Now I will look into a solution/workaround to the problem.
Re:Solution (Score:2)
use emacs? :-)
(Or is emacs just a solution still searching for its problem?)
Re:Solution (Score:2)
Invisible characters in a text editor?
This seems to do the job, the only problem now is that have indicators of tabs and newlines aswell (looks like an old version of Wordperfect).
But I'll survive
Re:Solution (Score:1)
perl -pi -e 's/\xCA//g' filenameUsually does the trick. :)