Thanks kevbot, I tried it, but its still the same
bash-4.2$ which perl /home/nitishb/perl5/perlbrew/perls/perl-5.16.3/bin/perl bash-4.2$ curl -L http://cpanmin.us | perl - App::cpanminus % Total % Received % Xferd Average Speed Time Time Time + Current Dload Upload Total Spent Left + Speed 100 303 0 303 0 0 258 0 --:--:-- 0:00:01 --:--: +-- 1561 100 262k 100 262k 0 0 72406 0 0:00:03 0:00:03 --:--: +-- 215k --> Working on App::cpanminus Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1. +7001.tar.gz ... OK Configuring App-cpanminus-1.7001 ... OK Building and testing App-cpanminus-1.7001 ... OK Successfully installed App-cpanminus-1.7001 1 distribution installed bash-4.2$ which cpanm /home/nitishb/perl5/bin/cpanm bash-4.2$ which perl /home/nitishb/perl5/perlbrew/perls/perl-5.16.3/bin/perl bash-4.2$ cpanm Moo Moo is up to date. (1.004002) bash-4.2$ cpanm App::DuckPAN App::DuckPAN is up to date. (0.135) bash-4.2$ duckpan DDGC::Static Can't locate Moo.pm in @INC (@INC contains: /home/nitishb/perl5/lib/pe +rl5/x86_64-linux /home/nitishb/perl5/lib/perl5 /home/nitishb/perl5/pe +rlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /home/niti +shb/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 /home/nitis +hb/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-linux /home/nit +ishb/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) at /home/nitishb/ +perl5/lib/perl5/App/DuckPAN.pm line 11. BEGIN failed--compilation aborted at /home/nitishb/perl5/lib/perl5/App +/DuckPAN.pm line 11. Compilation failed in require at /usr/local/bin/duckpan line 16. BEGIN failed--compilation aborted at /usr/local/bin/duckpan line 16. bash-4.2$

In reply to Re^2: using cpanm with perlbrew by nbezzala
in thread using cpanm with perlbrew by nbezzala

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.