On Sun, 24 Dec 2006, imacat wrote:
On Sat, 23 Dec 2006 12:56:01 -0600 (CST)
Randy Kobes <[EMAIL PROTECTED]> wrote:
On Sun, 24 Dec 2006, imacat wrote:
On Sat, 23 Dec 2006 12:02:34 -0600 (CST)
Randy Kobes <[EMAIL PROTECTED]> wrote:
On Sun, 24 Dec 2006, [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] ~ % /opt/perl/testers/bin/cpan
CPAN: File::HomeDir loaded ok
cpan shell -- CPAN exploration and modules installation (v1.8802)
ReadLine support enabled
apparently this doesn't work. Could I ask you to
run the following?
=======================================================
eval { require CPAN::MyConfig;
require CPAN;
require CPAN::HandleConfig;
require CPAN::Version; };
print $@ if $@;
my $min_cpan_v = '1.88_64';
my $actual_cpan_v = $CPAN::VERSION;
print "Actual: $actual_cpan_v\n";
print CPAN::Version->vcmp($actual_cpan_v, $min_cpan_v);
=======================================================
I believe you mean CPAN::Config, not CPAN::MyConfig.
Yes, for this it should have been be CPAN::Config - thanks.
[EMAIL PROTECTED] ~ % cat /tmp/test
#! /opt/perl/testers/bin/perl
eval { require CPAN::Config;
require CPAN;
require CPAN::HandleConfig;
require CPAN::Version; };
print $@ if $@;
my $min_cpan_v = '1.88_64';
my $actual_cpan_v = $CPAN::VERSION;
print "Actual: $actual_cpan_v\n";
print CPAN::Version->vcmp($actual_cpan_v, $min_cpan_v);
[EMAIL PROTECTED] ~ % /tmp/test; echo
Actual: 1.8802
1
[EMAIL PROTECTED] ~ %
It looks like there's a bug in this version of
CPAN::Version in handling underscores - I'll
work around that. Thanks very much for the help
in tracking this down.
--
best regards,
Randy