This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
'[at]' should be '@'
[perl5.git] / lib / CPAN / Nox.pm
1 package CPAN::Nox;
2 use strict;
3 use vars qw($VERSION @EXPORT);
4
5 BEGIN{
6   $CPAN::Suppress_readline=1 unless defined $CPAN::term;
7 }
8
9 use base 'Exporter';
10 use CPAN;
11
12 my $Id = q$Id: APC.pm 147 2005-08-09 04:25:25Z k $;
13 our $VERSION = sprintf "%.3f", 2 + substr(q$Rev: 147 $,4)/1000;
14 $CPAN::META->has_inst('Digest::MD5','no');
15 $CPAN::META->has_inst('LWP','no');
16 $CPAN::META->has_inst('Compress::Zlib','no');
17 @EXPORT = @CPAN::EXPORT;
18
19 *AUTOLOAD = \&CPAN::AUTOLOAD;
20
21 1;
22
23 __END__
24
25 =head1 NAME
26
27 CPAN::Nox - Wrapper around CPAN.pm without using any XS module
28
29 =head1 SYNOPSIS
30
31 Interactive mode:
32
33   perl -MCPAN::Nox -e shell;
34
35 =head1 DESCRIPTION
36
37 This package has the same functionality as CPAN.pm, but tries to
38 prevent the usage of compiled extensions during its own
39 execution. Its primary purpose is a rescue in case you upgraded perl
40 and broke binary compatibility somehow.
41
42 =head1  SEE ALSO
43
44 CPAN(3)
45
46 =cut
47