in reply to Re^2: CPAN module strangeness
in thread CPAN module strangeness

You don't have Test::More installed because you're using an older version of Perl. Skip the `make test` step when you install modules (or upgrade your perl).

In the CPAN.pm shell, use a "force install" to let it ignore the test failure.

Good luck :)

--
brian d foy <brian@stonehenge.com>

Replies are listed 'Best First'.
Re^4: CPAN module strangeness
by RobertJ (Acolyte) on Apr 06, 2005 at 14:12 UTC
    The force install worked however

    the installed pm was

    package File::Copy::Recursive; use strict; use warnings; use Carp; use File::Copy; use File::Spec; #not really needed because File::Copy already gets it, + but for good measure :) require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(fcopy rcopy dircopy); our $VERSION = '0.05'; sub VERSION { $VERSION; } our $MaxDepth = 0; our $KeepMode = 1; ..........
    When called from my main perl script I got an error message to the effect that "there was no dircopy() subroutine.

    When I changed the installed pm module to

    package File::Copy::Recursive; use strict; use warnings; use Carp; use File::Copy; use File::Spec; require Exporter; use vars qw(@ISA @EXPORT); @ISA = qw(Exporter); @EXPORT = qw(fcopy rcopy dircopy); our $MaxDepth = 0; our $KeepMode = 1; ............
    It worked perfectly. For now I'm a happy camper (sort of); when I upgrade to 10.3.x I'll check this out.

    BTW - Is upgrading Perl a big deal?