timos has asked for the wisdom of the Perl Monks concerning the following question:
is there a way to specify dependencies on external programs or libraries in perl modules? Specifically if I use ExtUtils::MakeMaker. I know how to specify dependencies on other perl modules, so that's not what I need.
Let's say I wrote a perl module that uses calls the 'wget' binary via IPC::Run. Of course this will never work if we don't have wget in our $PATH, but I would be pleased if there was a way to tell the CPAN Testers that they should install wget before attempting to test this module.
Of course I could just test if wget is there and skip all tests if not but that's also suboptimal as I wouldn't get much info from the automated testing. And yes, I know there are perl modules that have the same/simillar functionality as wget! That is not my question, wget just serves as an example here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dependencies on external programs with MakeMaker
by Anonymous Monk on Oct 23, 2010 at 12:58 UTC | |
|
Re: Dependencies on external programs with MakeMaker
by kcott (Archbishop) on Oct 23, 2010 at 18:15 UTC | |
|
Re: Dependencies on external programs with MakeMaker
by cmac (Monk) on Oct 23, 2010 at 17:15 UTC |