in reply to Re: can 'warn' but not 'print' wide character
in thread can 'warn' but not 'print' wide character
What timing! Are you in on that bug system? I believe 'die' needs the same fix.
This code from the bug report:
perl -we '$a="\xee\n"; print STDERR $a; warn $a; utf8::upgrade($a); pr +int STDERR $a; warn $a'
gives the same results as this:
perl -we '$a="\xee\n"; print STDERR $a; die $a;' perl -we '$a="\xee\n"; utf8::upgrade($a); print STDERR $a; die $a'
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: can 'warn' but not 'print' wide character
by ikegami (Patriarch) on Sep 17, 2010 at 18:19 UTC |