X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCPAN%2FNox.pm;h=a0abf1649fd6736dd700d8c295f50d58779ba14c;hb=4f3b9739f9aa4291e372527205413c88e84985b9;hp=c4016a44ac0855a82bc7b085582c8e4bc65fc36a;hpb=09d9d2303429a2231723b666dcb3f080fcc91bff;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/CPAN/Nox.pm b/lib/CPAN/Nox.pm index c4016a4..a0abf16 100644 --- a/lib/CPAN/Nox.pm +++ b/lib/CPAN/Nox.pm @@ -1,14 +1,26 @@ -BEGIN{$CPAN::Suppress_readline=1 unless defined $CPAN::term;} +package CPAN::Nox; +use strict; +use vars qw($VERSION @EXPORT); +BEGIN{ + $CPAN::Suppress_readline=1 unless defined $CPAN::term; +} + +use base 'Exporter'; use CPAN; -$CPAN::META->has_inst('MD5','no'); +$VERSION = sprintf "%.6f", substr(q$Rev: 844 $,4)/1000000 + 5.4; +$CPAN::META->has_inst('Digest::MD5','no'); $CPAN::META->has_inst('LWP','no'); $CPAN::META->has_inst('Compress::Zlib','no'); @EXPORT = @CPAN::EXPORT; *AUTOLOAD = \&CPAN::AUTOLOAD; +1; + +__END__ + =head1 NAME CPAN::Nox - Wrapper around CPAN.pm without using any XS module @@ -22,10 +34,15 @@ Interactive mode: =head1 DESCRIPTION This package has the same functionality as CPAN.pm, but tries to -prevent the usage of compiled extensions during it's own -execution. It's primary purpose is a rescue in case you upgraded perl +prevent the usage of compiled extensions during its own +execution. Its primary purpose is a rescue in case you upgraded perl and broke binary compatibility somehow. +=head1 LICENSE + +This program is free software; you can redistribute it and/or +modify it under the same terms as Perl itself. + =head1 SEE ALSO CPAN(3)