sample.pl untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 20 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 use diagnostics;
3  
4 use Unicode::String qw / utf8 /;
5 use IETF::ACE qw / &UCS4toRACE /;
6  
7 my $TheIn="ábcde"; # .com
8  
9 my $TheUCS4 = utf8($TheIn)->ucs4;
10  
11 my $TheOut = &UCS4toRACE($TheUCS4);
12  
13 print <<EOD;
14 Latin1 Input = $TheIn.com
15 RACE Output = $TheOut.com
16 EOD
17