NAME

PerlIO::via::UnicodeDebug - debug Unicode input/output

SYNOPSIS

use Unicode::Debug;
binmode STDOUT, ':via(UnicodeDebug)' or die $!;

print "Héllò Wörld\n";

Or perhaps in your test suite...

use strict;
use warnings;
use utf8;
use Test::More;

if (eval { require Unicode::Debug })
{
   my $builder = Test::More->builder;
   binmode $builder->$_, ':via(UnicodeDebug)'
      for qw/ output failure_output todo_output /;
}

...;   # Unicode-emitting tests go here

DESCRIPTION

Passes IO through Unicode::Debug.

BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Unicode-Debug.

SEE ALSO

Unicode::Debug, Devel::Unicode.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2012-2013 by Toby Inkster.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.