On Tue, Jul 12, 2005 at 04:13:29PM -0700, Michael G Schwern via RT wrote: > > [joemcmahon - Fri Jun 03 15:00:45 2005]: > > > > > Same program in the debugger: > > > % perl -de ' > > > $_ = "\x{100}"; > > > s/[\x{100}]/o/; > > > print "$_\n"; > > > ' > > > > > > Loading DB routines from perl5db.pl version 1.19 > > > Editor support available. > > > > > > Enter h or `h h' for help, or `man perldebug' for more help. > > > > > > main::(-e:2): $_ = "\x{100}"; > > > DB<1> c > > > Wide character in print at -e line 4. > > > ? > > > > This seems to fix the problem; it just adds ":utf8" to the debugger's > > output filehandle. > > The problem is not the "wide character in print" warning. The problem > is that $_ is not 'o' as it is when run outside the debugger.
Seems to be fixed in 5.8.7 and bleed. -- The Enterprise is captured by a vastly superior alien intelligence which does not put them on trial. -- Things That Never Happen in "Star Trek" #10