Don't ask to ask, just ask | |
PerlMonks |
Re^2: CPAN force install of PersistentPerl fails to installby nenbrian (Acolyte) |
on Apr 09, 2008 at 18:51 UTC ( [id://679324]=note: print w/replies, xml ) | Need Help?? |
Wow, oddly that worked. I had previously thought that notest() was like force(), in that it actually did something. I was calling force() like this:
But that wasn't working. So I tried calling notest() in the same way:
This isn't documented anywhere, but I just generalized from the force() method usage. However, looking at the CPAN.pm code, the notest() method just sets a 'notest' flag in the module object. So after seeing your reply, I decided to look into notest() again. This is what I eventually found works:
I need (or at least would prefer) to be able to do this using the CPAN API, rather than running the cpan utility as an external program, and now it looks like I can. Thanks for the response.
In Section
Seekers of Perl Wisdom
|
|