in reply to Re^3: Testing CPAN module that requires credentials
in thread Testing CPAN module that requires credentials
A better idea, don't prompt at all, no matter what :)
Simply document the appropriate enviroment variable
$ENV{PERL_MYCPANMODULE_CONFIG}='foo.yaml'; $ENV{PERL_MYCPANMODULE_USERPASS}='user:pass';
Or Makefile.PL switch
and then Makefile.PL stores that in MYCPANMODULE.ini next to Makefile.PL for use during make test or some suchperl Makefile.PL --userpass=user:pass
I believe Module::Build provides something out of the box for this way, I might be wrong
|
|---|