lib/Perl/ToPerl6/Exception/IO.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Perl/ToPerl6/Exception/Fatal/TransformerDefinition.pm ↑ Summary lib/Perl/ToPerl6/Exception/Parse.pm »
1 package Perl::ToPerl6::Exception::IO;
2  
3 27 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 27 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 27 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 27 ▶use Carp qw{ confess };
Subroutine BEGIN: called CC=1 SCAR=0.0
8 27 ▶use English qw(-no_match_vars);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 27 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 27 ▶use Perl::ToPerl6::Utils qw{ :characters };
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 #-----------------------------------------------------------------------------
14  
15 27 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
16 27 'Perl::ToPerl6::Exception::IO' => {
17 isa => 'Perl::ToPerl6::Exception',
18 description => 'An input/output problem.',
19 fields => [ qw< file_name errno > ],
20 alias => 'throw_io',
21 },
22 27 );
23  
24 #-----------------------------------------------------------------------------
25  
26 27 Readonly::Array our @EXPORT_OK => qw< throw_io >;
27  
28 #-----------------------------------------------------------------------------
29  
30 27 1;
31  
32 #-----------------------------------------------------------------------------
33  
34 __END__
« lib/Perl/ToPerl6/Exception/Fatal/TransformerDefinition.pm ↑ Summary lib/Perl/ToPerl6/Exception/Parse.pm »