Commit | Line | Data |
36263cb3 |
1 | package CPAN::Nox; |
911a92db |
2 | use strict; |
3 | use vars qw($VERSION @EXPORT); |
36263cb3 |
4 | |
911a92db |
5 | BEGIN{ |
6 | $CPAN::Suppress_readline=1 unless defined $CPAN::term; |
7 | } |
5f05dabc |
8 | |
911a92db |
9 | use base 'Exporter'; |
5f05dabc |
10 | use CPAN; |
11 | |
26844e27 |
12 | $VERSION = sprintf "%.6f", substr(q$Rev: 844 $,4)/1000000 + 5.4; |
5b6aeab6 |
13 | $CPAN::META->has_inst('Digest::MD5','no'); |
55e314ee |
14 | $CPAN::META->has_inst('LWP','no'); |
09d9d230 |
15 | $CPAN::META->has_inst('Compress::Zlib','no'); |
5f05dabc |
16 | @EXPORT = @CPAN::EXPORT; |
17 | |
18 | *AUTOLOAD = \&CPAN::AUTOLOAD; |
19 | |
35576f8c |
20 | 1; |
21 | |
911a92db |
22 | __END__ |
23 | |
5f05dabc |
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 |
022735b4 |
37 | prevent the usage of compiled extensions during its own |
38 | execution. Its primary purpose is a rescue in case you upgraded perl |
5f05dabc |
39 | and broke binary compatibility somehow. |
40 | |
26844e27 |
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 | |
5f05dabc |
46 | =head1 SEE ALSO |
47 | |
48 | CPAN(3) |
49 | |
50 | =cut |
51 | |