GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Test::More::UTF8(3) User Contributed Perl Documentation Test::More::UTF8(3)

Test::More::UTF8 - Enhancing Test::More for UTF8-based projects

        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

        This module have reason only for perl 5.8 and higher

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

Mons Anderson, <mons@cpan.org>

None known

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.

2017-06-24 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.