blib/lib/Convert/Base91.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 32 / 32 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Base91.xs ↑ Summary
1 package Convert::Base91;
2  
3 1 ▶use 5.014000;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use parent qw/Exporter/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our @EXPORT_OK = qw/encode_base91 decode_base91/;
9 1 our @EXPORT = ();
10  
11 1 our $VERSION = '1.000';
12  
13 1 require XSLoader;
14 1 XSLoader::load('Convert::Base91', $VERSION);
15  
16 1 our $base91 = __PACKAGE__->new;
17  
18 2 ▶sub encode_base91 {
Subroutine encode_base91: called CC=1 SCAR=0.0
Pod documented
19 2 my ($data) = @_;
20 2 $base91->encode($data);
21 2 $base91->encode_end;
22 }
23  
24 3 ▶sub decode_base91 {
Subroutine decode_base91: called CC=1 SCAR=0.0
Pod documented
25 3 my ($data) = @_;
26 3 $base91->decode($data);
27 3 $base91->decode_end;
28 }
29  
30 1 1;
31 __END__
« Base91.xs ↑ Summary