http://www.perlmonks.org?node_id=599655


in reply to Bug in perl -C (Unicode) option parsing?

I took your CDS.pl and got this:

#!/usr/bin/perl -l -CDS use strict; use warnings; use diagnostics; binmode STDOUT, ":utf8"; print ${^UNICODE}, ' ', "\x{100}";

Perl met a wide character when it wasn't expecting one, so you have to add the utf8 layer to silence it.