I am trying to specify a pre-req that needs to be present for
my module to work.

I have it under the PREREQ_PM section next in my Makefile.PL
as well as under the BUILD_REQUIRES section.

I'm not sure I specified the version correctly -- I note that
Test::Simple, has a floating point version, while mine has
a string '0.3.2'.

But I couldn't get the Make to pull in the dependency from
CPAN if necessary.

So I resorted too putting an eval {require mem} in the
test module.  It worked locally (called cpan -i module to
pull it down and build it if it wasn't there).  It also
should have aborted if that failed. (I.e. it looks for PASS
in the output of the cpan install).

Thought I had it licked --- even if the prereqs didn't work,
the test should have pulled it down with 'manual' prereq code.

Yet looking at cpantest reports, there is no indication that
it is even running the newer ".t" prog as it should have
sent a big error block to output if it couldn't find mem:

   die "\n*****************************************\n".
        "*****************************************\n" .
        "*****************************************\n" .
        "*   Cannot install mem via cpan: BIGFAIL*\n".
        "*****************************************\n" .
        "*****************************************\n" .
        "*****************************************\n";
    };
----
Yet the reports for the new version have nothing like that
at the top...

So I'm stumped...  Why don't the pre-req's in the Makefile.PL
pull down the needed modules and how can the test continue
to run when it should have died up front?

Ideas?  Help?

:-(


Thanks...

Reply via email to