note
moritz
<p>Since you mentioned Unicode: Many Perl programs these days set up STDOUT correctly to encode the output, but forget to the same with STDERR (and yes, I myself am guilty of this many times over).</p>
<p>So when debug-outputting non-ASCII strings to STDERR, you need to be extra aware of encoding issues.</p>
<p>(That said, when debugging encoding issues, I usually set <c>$Data::Dumper::Useqq = 1</c> and debug with [mod://Data::Dumper], so it's not that much of an issue; but if you want to warn plain strings, you must be aware of it).</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-616540">
[http://perl6.org/|Perl 6 - the future is here, just unevenly distributed]
</div></div>
1079426
1079426