hbm has asked for the wisdom of the Perl Monks concerning the following question:
I'm intrigued by the different results below:
perl -e 'print "\x{01C1}\n";' Wide character in print at -e line 1. Ç perl -e 'warn "\x{01C1}\n";' Ç perl -e 'die "\x{01C1}\n";' Ç perl -e 'print STDERR "\x{01C1}\n";' Wide character in print at -e line 1. Ç
I would have thought 'warn' and 'die' did essentially 'print' to STDERR...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can 'warn' but not 'print' wide character
by ikegami (Patriarch) on Sep 13, 2010 at 20:28 UTC | |
|
Re: can 'warn' but not 'print' wide character
by Khen1950fx (Canon) on Sep 13, 2010 at 23:36 UTC | |
|
Re: can 'warn' but not 'print' wide character
by Anonymous Monk on Sep 13, 2010 at 20:02 UTC | |
|
Re: can 'warn' but not 'print' wide character
by ikegami (Patriarch) on Sep 16, 2010 at 13:36 UTC | |
by hbm (Hermit) on Sep 16, 2010 at 17:14 UTC | |
by ikegami (Patriarch) on Sep 17, 2010 at 18:19 UTC |