title: Why doesn't CPAN install dependencies for the modules in my bundle?
body: <p>I'm creating a bundle to make it easy to install my app. 
  I started here: <a href="http://search.cpan.org/dist/CPAN/lib/CPAN.pm#Bundles" rel="nofollow noreferrer">http://search.cpan.org/dist/CPAN/lib/CPAN.pm#Bundles</a></p>
  
  <p>I have a package Bundle::MyApp which looks like this:</p>
  
  <pre><code>package Bundle::MyApp;
  
  $VERSION = '0.01';
  
  1;
  
  __END__
  
  =head1 NAME
  
  Bundle::MyApp - modules needed by my app
  
  =head1 SYNOPSIS
  
  cpan install Bundle::MyApp
  
  =head1 CONTENTS
  
  DateTime
  Image::Size
  </code></pre>
  
  <p>I'm testing it on my local machine, so I put the package into my cpan folder, eg: ~/.cpan/Bundle/MyApp.pm</p>
  
  <p>Now I can run it using <code>cpan install Bundle::MyApp</code> and it works, except that it doesn't install the dependencies required by the modules I have listed. So in this example, cpan first tries to install DateTime but the install fails because DateTime::Locale is needed first, then it tries to install Image::Size and that fails too beacuse there are deps needed.</p>
  
  <p>If I install the DateTime module directly via cpan using <code>cpan install DateTime</code> it works fine and dependencies are installed.</p>
  
  <p>So I'm looking for a way to tell CPAN to follow dependencies when its installing from my bundle. Is there something I need to put in my package? or maybe it's an issue with the CPAN config for my user account?</p>