Re: Effect of -C command line switch on `warn` and `die`

2010-04-26 Thread Michael Ludwig
Am 22.04.2010 um 17:29 schrieb Aristotle Pagaltzis: * Michael Ludwig michael.lud...@xing.com [2010-04-22 17:00]: Consider the following script, the source of which is encoded in UTF-8: I can’t answer your question, but I do want to suggest that you re-post it to perl5-port...@perl.org –

Effect of -C command line switch on `warn` and `die`

2010-04-22 Thread Michael Ludwig
Consider the following script, the source of which is encoded in UTF-8: use utf8; use open qw/:utf8 :std/; my $str = Käse\n; print STDOUT $str; print STDERR $str; warn $str; die $str; On a UTF-8 terminal, this prints Käse three times. So far, so good. Now remove the open pragma

Re: Effect of -C command line switch on `warn` and `die`

2010-04-22 Thread Aristotle Pagaltzis
Hi Michael, * Michael Ludwig michael.lud...@xing.com [2010-04-22 17:00]: Consider the following script, the source of which is encoded in UTF-8: I can’t answer your question, but I do want to suggest that you re-post it to perl5-port...@perl.org – it’s much more likely that someone over there