perl - local::lib and notest for Makefile.PL -


i have makefile.pl want install dependencies "notest" flag , using local::lib home dir, can't grasp on makefile.pl options.

my makefile.pl looks this:

use inc::module::install;  name 'myapp'; all_from 'lib/myapp.pm';  requires 'moose'; requires 'catalyst::runtime'; install_script glob('script/*.pl'); auto_install; writeall; 

i've noticed evalling local::lib (which installed) bash session turns on flags make dependencies install local::lib, i'm not sure , i've haven't tested yet:

$ eval $(perl -mlocal::lib) $ perl -mlocal::lib export perl_local_lib_root="$perl_local_lib_root:/home/user/perl5"; export perl_mb_opt="--install_base /home/user/perl5"; export perl_mm_opt="install_base=/home/user/perl5"; export perl5lib="/home/user/perl5/lib/perl5/i686-linux:/home/user/perl5/lib/perl5:$perl5lib"; export path="/home/user/perl5/bin:$path"; 

but i'm not sure change makefile.pl deps behavior.

you supposed permanently apply settings eval incantation, e.g. adding .bashrc.

yes, setting perl_mm_opt variables changes behaviour of extutils::makemaker foundation of module::install. see install_base in extutils::makemaker.

you need not change in makefile.pl.


perl_cpanm_opt=-n cpanm … cpanp -i --skiptest … 

generally, skipping tests not in hand, user's. cpan client not allow this, forcing installation after failed test step. if user installs dependencies manually, has full control on each step , cannot prevent him running test step @ all.

i think need explain want achieve wanting prohibit testing.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -