1package CPAN::Nox; 2use strict; 3use vars qw($VERSION @EXPORT); 4 5BEGIN{ 6 $CPAN::Suppress_readline=1 unless defined $CPAN::term; 7} 8 9use base 'Exporter'; 10use CPAN; 11 12$VERSION = "1.03"; 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 201; 21 22__END__ 23 24=head1 NAME 25 26CPAN::Nox - Wrapper around CPAN.pm without using any XS module 27 28=head1 SYNOPSIS 29 30Interactive mode: 31 32 perl -MCPAN::Nox -e shell; 33 34=head1 DESCRIPTION 35 36This package has the same functionality as CPAN.pm, but tries to 37prevent the usage of compiled extensions during its own 38execution. Its primary purpose is a rescue in case you upgraded perl 39and broke binary compatibility somehow. 40 41=head1 SEE ALSO 42 43CPAN(3) 44 45=cut 46 47