On Wed, Feb 08, 2012 at 06:38:24PM -0700, ben wrote:
> So I've got my module listed on cpan, and other folks are downloading
> it. Great, but it looks like mostly it's being tested mostly by
> automated scripts which is fine, but most of these systems appear to not
> have pam headers which is not. what is the best practice for dealing
> with binary modules which depend on third party librarys? wget? die? exit 0?

I think it's exit 0

    "How can I stop getting FAIL reports for missing libraries or other
    non-Perl dependencies?"

    If you have some special dependencies and don't want to get CPAN Testers
    reports if a dependency is not available, just exit from the Makefile.PL
    or Build.PL normally (with an exit code of 0) before the Makefile or
    Build file is created.

        exit 0 unless some_dependency_is_met();

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

That section continues with a suggestion that Devel::CheckLib might be
useful in this sort of situation.

Nicholas Clark

Reply via email to