Help for this page

Select Code to Download


  1. or download this
    my $b = Test::More->builder;
    binmode STDOUT, $b->failure_output, ':utf8';
    
  2. or download this
    # both of the following are too late for Test::More
    # because it has already duplicated STDOUT, STDERR
    
  3. or download this
    BEGIN {
       binmode STDOUT, ':utf8';
       binmode STDERR, ':utf8';
    }
    use Test::More;