Jos I. Boumans [Wed, 7 Nov 2007 10:38:28 +0000 (11:38 +0100)]
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <
22589E6E-1C9D-4C1F-8642-A690904193C7@dwim.org>
p4raw-id: //depot/perl@32233
### create a fake object, so we don't use the actual module tree
+### make sure to add dslip data, so CPANPLUS doesn't try to find
+### it in another module in the package, for which it needs the
+### module tree
my $Mod = CPANPLUS::Module::Fake->new(
module => 'Foo::Bar',
path => 'src',
author => CPANPLUS::Module::Author::Fake->new,
package => 'Foo-Bar-0.01.tar.gz',
+ dslip => 'RdpO?',
);
$Conf->set_conf( base => 'dummy-cpanplus' );