John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
If the main file doesn't have use charnames, the problem goes away!
use utf8; use charnames ':full'; use Foo; print "Hello world\n";
Any clues? I take it this must be a Perl bug, since I don't see what I could be doing wrong in something so simple.use utf8; use charnames ':full'; package Foo; my $LN= "\N{POUND SIGN}"; 1; # loaded OK
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Internal error from Perl
by graff (Chancellor) on Feb 24, 2004 at 06:00 UTC | |
|
Re: Internal error from Perl
by halley (Prior) on Feb 24, 2004 at 21:03 UTC | |
|
Re: Internal error from Perl
by ambrus (Abbot) on Feb 24, 2004 at 21:28 UTC |