title: How to install basic modules for MSYS Perl?
body: <p>I need to use the <a href="http://repo.msys2.org/msys/x86_64" rel="nofollow noreferrer">MSYS Perl</a> to be able to install autoconf on my MSYS2 on Windows 7 because ActivePerl or Strawberry Perl don't work for the autoconf installation. The only problem is the default installation of MSYS Perl doesn't seem to include some basic modules such as <code>strict</code> or <code>Carp</code>. When I make autoconf it gives:</p>
  
  <blockquote>
    <p>Can't locate Carp.pm in @INC (you may need to install the Carp module) (@INC contains: ../lib /usr/local/perl-5.22.1/lib/perl5/core_perl /usr/local/perl-5.22.1/lib/perl5/site_perl /usr/local/perl-5.22.1/lib/perl5/vendor_perl</p>
  </blockquote>
  
  <p>When I try to do a manual installation of <code>Carp</code>, during the <code>perl Makefile.PL</code> step I get:</p>
  
  <blockquote>
    <p>Can't locate warnings.pm in @INC</p>
  </blockquote>
  
  <p>The problem is, in order to install the <code>warnings.pm</code> I need to have installed the basic set of modules such as <code>strict</code> but those modules don't seem to be present in the core modules directory <code>/usr/local/perl-5.22.1/lib/perl5/core_perl</code></p>
  
  <p>How can I install those basic modules for my MSYS Perl?</p>