Do you know where your variables are? | |
PerlMonks |
Re^2: Why does Perl choke on my UTF8 identifier?by Intrepid (Deacon) |
on Mar 30, 2021 at 20:20 UTC ( [id://11130610]=note: print w/replies, xml ) | Need Help?? |
<meta http-equiv="Content-type" content="text/html;charset=cswindows1252">
Aha! blaming the editor is correct. Your advice (Thank You!) was spot-on. I use vim too, and indeed, the fileencoding was set to iso-8859. I corrected that and ran the program successfully. I only feel a little under-educated. Effective Perl Programming should have had a note about editors and their codepages and how use utf8 won't dwim if the editor is saving the program text as something else ;-).
Examine what is said, not who speaks.
Love the truth but pardon error. Silence betokens consent. In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|