File Coverage

blib/lib/CPAN/Nox.pm
Criterion Covered Total %
statement 13 13 100.0
branch 1 2 50.0
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 20 95.0


line stmt bran cond sub pod time code
1             package CPAN::Nox;
2 2     2   37 use strict;
  2         38  
  2         54  
3 2     2   32 use vars qw($VERSION @EXPORT);
  2         20  
  2         104  
4              
5             BEGIN{
6 2 50   2   144   $CPAN::Suppress_readline=1 unless defined $CPAN::term;
7             }
8              
9 2     2   78 use base 'Exporter';
  2         18  
  2         141  
10 2     2   32 use CPAN;
  2         20  
  2         42  
11              
12             $VERSION = sprintf "%.6f", substr(q$Rev: 844 $,4)/1000000 + 5.4;
13             $CPAN::META->has_inst('Digest::MD5','no');
14             $CPAN::META->has_inst('LWP','no');
15             $CPAN::META->has_inst('Compress::Zlib','no');
16             @EXPORT = @CPAN::EXPORT;
17              
18             *AUTOLOAD = \&CPAN::AUTOLOAD;
19              
20             1;
21              
22             __END__
23            
24             =head1 NAME
25            
26             CPAN::Nox - Wrapper around CPAN.pm without using any XS module
27            
28             =head1 SYNOPSIS
29            
30             Interactive mode:
31            
32             perl -MCPAN::Nox -e shell;
33            
34             =head1 DESCRIPTION
35            
36             This package has the same functionality as CPAN.pm, but tries to
37             prevent the usage of compiled extensions during its own
38             execution. Its primary purpose is a rescue in case you upgraded perl
39             and broke binary compatibility somehow.
40            
41             =head1 LICENSE
42            
43             This program is free software; you can redistribute it and/or
44             modify it under the same terms as Perl itself.
45            
46             =head1 SEE ALSO
47            
48             CPAN(3)
49            
50             =cut
51            
52