title: Can a Perl script install its own CPAN dependencies?
body: <p>I have a Perl script that has two dependencies that exist in CPAN. What I'd like to do is <em>have the script itself</em> prompt the user to install the necessary dependencies so the script will run properly. If the user needs to enter in some kind of authentication to install the dependencies that's fine: what I'm trying to avoid is the following workflow:</p>
  
  <blockquote>
    <p>Run script -> Watch it fail -> Scour CPAN aimlessly -> Lynch the script writer</p>
  </blockquote>
  
  <p>Instead I'm hoping for something like:</p>
  
  <blockquote>
    <p>Run script -> Auto-download script dependencies (authenticating as necessary) -> Script succeeds -> Buy the script writer a beer</p>
  </blockquote>
  
  <p>Can this be done?</p>