File: README

package info (click to toggle)
libtest-more-utf8-perl 0.05-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 108 kB
  • sloc: perl: 104; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
NAME
    Test::More::UTF8 - Enhancing Test::More for UTF8-based projects

SYNOPSIS
        use Test::More;
        use Test::More::UTF8;

        # now we can easily use flagged strings without warnings like "Wide character in print ..."
        is("\x{410}","\x{420}"); # got a failure message without warnings

LIMITATIONS
        This module have reason only for perl 5.8 and higher

FEATURES
    This module also switch on by default utf8 pragma. To disable this, add
    "-utf8" option

        use Test::More::UTF8 qw(-utf8);

    By default binmode ':utf8' will be done on all output handles:
    failure_output, todo_output, output. It is possible to choose only some
    of them

        use Test::More::UTF8 qw(failure); # enable :utf8 only on failure_output
        use Test::More::UTF8 qw(todo); # enable :utf8 only on todo_output
        use Test::More::UTF8 qw(out); # enable :utf8 only on output

AUTHOR
    Mons Anderson, <mons@cpan.org>

BUGS
    None known

COPYRIGHT & LICENSE
    Copyright 2009 Mons Anderson, all rights reserved.

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