|Perl Monk, Perl Meditation|
Bad name after xxxx'by KyussRyn (Acolyte)
|on Jan 25, 2011 at 03:45 UTC||Need Help??|
KyussRyn has asked for the
wisdom of the Perl Monks concerning the following question:
I am having a minor problem with a "Bad name After" error. I am using Strawberry Perl 5.12.1 on Windows XP. here is some dummy cope:
On Line 12 I get an error saying "Bad name after _self'". I have read that perl used to allow pkg'$var and this is still supported so I have tried:
These other alternatives provide variations of the error. I am pretty certain also that it is not the Japanese characters causing the problem either, as I have tested the same characters in other places.
Now I say this is not a major problem as the code builds and runs fine, but I am still getting this error message and would like to understand why.
Thank you in advance for any help you can give.
P.S. The hashed codes are japanese characters.
I am using Eclipse with EPIC, and the pages are coded into UTF-8 through the interface. I tried out the use utf8; line, and that created a recursion error. I have also retyped the troubled lines, copied it from Line 10, and used the same word as well, but to no avail.