one other note -- I wanted to override this logic in CPANPLUS::Dist::Deb
(since I have an immediate need), but I can't do that easily because
since prepare() is a huge method that does a bunch of other stuff. you
should consider moving the whole prereqs() loop into a method or two, eg;
sub prepare {
{.....}
my @depends = $self->prereqs;
{.....}
}
sub prereqs {
my $self = shift;
my $prereqs = $self->status->prereqs;
my @depends;
for my $prereq ( sort keys %$prereqs ) {
push(@depends, $self->prereq_depends($prereq));
}
return @depends;
}
sub prereq_depends {
{.....}
}
actually, it'd be helpful to break most of Deb.pm down into smaller bits
since there's often "weird" packages that need special treatment to
debianize (like Crypt::IDEA)...