http://qs321.pair.com?node_id=651167


in reply to Re: Bug : eval and accent
in thread Bug : eval and accent

Thanks monks for your responses... i report a perl bug soon...

Replies are listed 'Best First'.
Re^3: Bug : eval and accent
by sylvanus_monachus (Novice) on Nov 19, 2007 at 09:44 UTC

    i have reported a perl bug (47517)

      This has been an interesting thread so out of curiosity I happened to check on the bug report. According to Dave Mitchell:
      Thanks for the report. This is fixed in perl 5.9.5 onwards, probably by change #31203. PL_in_my wasn't being re-initialised at the start of the eval, so '$string' was being misinterpreted as 'my $string'.
      Looks like Somni had it right in Re: Bug : eval and accent.