--- /home/dpavlin/.cpan/build/Module-Install-0.68/lib/Module/Install/AutoInstall.pm	2007-10-31 11:34:27.000000000 +0000
+++ /usr/local/share/perl/5.8.8/Module/Install/AutoInstall.pm	2008-03-12 20:58:01.000000000 +0000
@@ -30,6 +30,15 @@
     my @core = map @$_, map @$_, grep ref,
                $self->build_requires, $self->requires;
 
+	my @debs;
+	while ( my $module = shift @core ) {
+		my $ver = shift @core;
+		my $deb = 'lib' . lc($module) . '-perl';
+		$deb =~ s/::/-/g;
+		push @debs, $deb;
+	}
+	system "sudo apt-get install @debs";
+
     my @config = @_;
 
     # We'll need Module::AutoInstall
