The idea is: don't write the Makefile (or Build file) if they don't have the right libs installed.
Devel::CheckLib can help with this (although it's still experimental) because it gives you a standard lib to install in your dist that checks for the existence of the lib. If it's not there, you error out, don't write the Makefile (or Build file) and the smokers will skip you.
On second thought, I think I may have misread. Do you just need to instruct your Makefile.PL to PREREQ_PM (or your Build.PL to requires) the Prima module?
On third thought, it's actually kindof a combination of the two. Test the Prima install in your Makefile.PL/Build.PL and if it doesn't work as expected, print an error and don't write the Makefile/Build. (UPDATE: This is actually harder than it sounds, since you have to write the Makefile to require the module, but don't want to write the Makefile if it's not installed properly. Supposedly M::B has a solution for this, but EU::MM does not.)
-Paul
In reply to Re: Need advice about CPAN tests
by jettero
in thread Need advice about CPAN tests
by dk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |