On Thu, Apr 16, 2009 at 10:50:00AM -0400, David Golden wrote: > On Thu, Apr 16, 2009 at 10:46 AM, Chris 'BinGOs' Williams > <[email protected]> wrote: > > POE::Component::SmokeBox::Backend and > > POE::Component::SmokeBox::Backend::CPAN::Reporter > > do the heavy lifting via POE::Component::SmokeBox. > > > > I've added the appropriate calls to Backend::CPAN::Reporter and shipping > > version 0.24 > > of POE::Component::SmokeBox to CPAN at the moment. > > Please make sure you check for at least CPAN 1.92 which has the > reset_tested method. >
D'oh.
Any ideas on how to do this in a one-liner?
We have complete perl and process separation when using
PoCo-SmokeBox/minismokebox, so I
can't make CPAN-1.92 a prereq of either of those.
The one-liner looks like
perl -MCPAN -e 'my $module = shift; $CPAN::Config->{test_report} = 1;
CPAN::Index->reload; $CPAN::META->reset_tested; test($module);'
Actually, thinking about it
perl -e 'use CPAN 1.92; my $module = shift; $CPAN::Config->{test_report} = 1;
CPAN::Index->reload; $CPAN::META->reset_tested; test($module);'
might work.
Cheers,
--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================
pgpFxj11qk1fk.pgp
Description: PGP signature
