sylvanus_monachus has asked for the wisdom of the Perl Monks concerning the following question:
Here is a strange perl bug
After Eval a var with an accent , other evals don't work... Have you ever see this, and who i need to alert of this perl bug ??
The bug$string should be "new eval done" and it is undef...
my $code1='my $var_with_é_accent;'; print "Eval buggy code\n"; eval $code1; print "ERR = $@" if ($@);; print "DONE\n"; my $string; my $code2='$string="new eval done";'; print "Eval good code\n"; eval $code2; print "ERR = $@" if ($@); print "string is : $string\n"; print "DONE\n";