Skip to content

Commit bd24079

Browse files
cpan/CPAN - Update to version 2.38
2024-11-17 Andreas Koenig <[email protected]> * release 2.38 * unchanged from 2.38-TRIAL2 2024-10-13 k <[email protected]> * release 2.38-TRIAL2 * fix test skipping: bump minimum version of Pod::Perldoc::ToMan for running test t/97-run.t 2024-10-03 k <[email protected]> * release 2.38-TRIAL * add documentation how to load your own CPAN/MyConfig.pm from you own path (thanks to Merijn Brand for asking the question) * try to fix tests that were failing on cpantesters * minor distroprefs maintenance
1 parent fc316f6 commit bd24079

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

Porting/Maintainers.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ package Maintainers;
263263
},
264264

265265
'CPAN' => {
266-
'DISTRIBUTION' => 'ANDK/CPAN-2.37.tar.gz',
267-
'SYNCINFO' => 'tib on Fri Sep 13 19:07:54 2024',
266+
'DISTRIBUTION' => 'ANDK/CPAN-2.38.tar.gz',
267+
'SYNCINFO' => 'tib on Mon Nov 18 08:14:50 2024',
268268
'FILES' => q[cpan/CPAN],
269269
'EXCLUDED' => [
270270
qr{^distroprefs/},

cpan/CPAN/lib/CPAN.pm

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# vim: ts=4 sts=4 sw=4:
33
use strict;
44
package CPAN;
5-
$CPAN::VERSION = '2.37';
5+
$CPAN::VERSION = '2.38';
66
$CPAN::VERSION =~ s/_//;
77

88
# we need to run chdir all over and we would get at wrong libraries
@@ -2087,6 +2087,17 @@ best placed in C<$HOME/.cpan/CPAN/MyConfig.pm>, because C<$HOME/.cpan> is
20872087
added to the search path of the CPAN module before the use() or
20882088
require() statements. The mkmyconfig command writes this file for you.
20892089
2090+
If you want to keep your own CPAN/MyConfig.pm somewhere else, you
2091+
should load it before loading CPAN.pm, e.g.:
2092+
2093+
perl -I/tmp/somewhere -MCPAN::MyConfig -MCPAN -eshell
2094+
2095+
--or--
2096+
2097+
perl -I/tmp/somewhere -MCPAN::MyConfig -S cpan
2098+
2099+
Once you are in the shell you can change your configuration as follows.
2100+
20902101
The C<o conf> command has various bells and whistles:
20912102
20922103
=over

0 commit comments

Comments
 (0)