title: CPAN module installation failure
body: <p>I'm trying to install <strong>POE::Component:IRC::State</strong> but keep returning this error. I've tried googling but no solutions. Anyone know how to handle this?</p>
  
  <pre><code>install POE::Component:IRC::State
  Going to read '/home/user/.cpan/Metadata'
    Database was generated on Tue, 22 Jul 2014 11:41:02 GMT
  Running install for module 'POE::Component::IRC::State'
  Running make for B/BI/BINGOS/POE-Component-IRC-6.88.tar.gz
  Checksum for /home/user/.cpan/sources/authors/id/B/BI/BINGOS/POE-Component-IRC-6.88.tar.gz ok
  Scanning cache /home/user/.cpan/build for sizes
  Use of uninitialized value $newdir in substitution (s///) at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/Cwd.pm line 502.
  Use of uninitialized value $newdir in chdir at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/Cwd.pm line 510.
  Use of chdir('') or chdir(undef) as chdir() is deprecated at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/Cwd.pm line 510.
  Use of uninitialized value $newdir in pattern match (m//) at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/Cwd.pm line 525.
  Use of uninitialized value $newdir in split at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/Cwd.pm line 531.
  ............................................................................DONE
  
  Use of uninitialized value $_[0] in join or string at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/File/Spec/Unix.pm line 86.
  Use of uninitialized value $path in pattern match (m//) at /opt/OMNIperl/lib/5.14/i86pc-solaris-thread-multi-64/File/Spec/Unix.pm line 267.
  
  
    CPAN.pm: Going to build B/BI/BINGOS/POE-Component-IRC-6.88.tar.gz
  
  Warning: No success on command[/opt/OMNIperl/bin/amd64/perl Makefile.PL]
    BINGOS/POE-Component-IRC-6.88.tar.gz
    /opt/OMNIperl/bin/amd64/perl Makefile.PL -- NOT OK
  Running make test
    Make had some problems, won't test
  Running make install
    Make had some problems, won't install
  Failed during this command:
   BINGOS/POE-Component-IRC-6.88.tar.gz         : writemakefile NO '/opt/OMNIperl/bin/amd64/perl Makefile.PL' returned status -1
  </code></pre>