![]() |
|
"be consistent" | |
PerlMonks |
Bad name after xxxx'by KyussRyn (Acolyte) |
on Jan 25, 2011 at 03:45 UTC ( #884038=perlquestion: print w/replies, xml ) | Need Help?? |
KyussRyn has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
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. Kind regards, KyussRyn P.S. The hashed codes are japanese characters. ****EDIT**** 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.
Back to
Seekers of Perl Wisdom
|
|