Devel/Unicode.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran 0.0% 0 / 6 Conditioncond 0.0% 0 / 5 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 47 CC 3 SCAR 16.7
CC
3
Cov
0%
import
12.0
BEGIN
2.0
BEGIN
2.0
CRAP 5.3
1 package Devel::Unicode;
2  
3 use 5.008001;
4 use strict;
5 use warnings;
6 use utf8;
7  
8 use Unicode::Debug;
9  
10 BEGIN
11 {
12 $Devel::Unicode::AUTHORITY = 'cpan:TOBYINK';
13 $Devel::Unicode::VERSION = '0.002';
14 }
15  
16 *DB::DB = sub { 1 } unless UNIVERSAL::can('DB', 'can') && DB->can('DB');
17  
18 sub import
19 {
20 my $class = shift;
21 my $args = join q(,), @_;
22
23 $Unicode::Debug::Names = 1 if $args =~ /name/i;
24 $Unicode::Debug::Whitespace = 1 if $args =~ /ws|white/i;
25
26 binmode STDOUT, ':via(UnicodeDebug)' or die $!;
27 }
28  
29 __PACKAGE__
30 __END__