Hi Chenlin, On Fri, 28 Dec 2012 20:13:48 +0800 chenlin rao <rao.chen...@gmail.com> wrote:
> I found <https://metacpan.org/module/Module::Install#requires_external_bin> > . But it can't auto install the `require_external` system packages now. > Another way I thought is pack my perl scripts as rpm and define the require > perl modules as rpm dependment. But not all CPAN module has rpm in yum.repo. > Any help? I feel the best way is to test for their existence in the $ENV{PATH} in Build.PL / Makefile.PL and then refuse to proceed if they are not found. It is documented. Alternatively, you can create an Alien::* package. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ "Humanity" - Parody of Modern Life - http://shlom.in/humanity Mastering ‘cat’ is almost as difficult as herding cats. — http://www.shlomifish.org/humour/bits/Mastering-Cat/ Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/