I'm also a happy cpanminus user:
+% cpanm -n Attempt
!
! Can't write to /usr/local/share/perl5 and /usr/local/bin: Installing
+ modules to /home/arun/perl5
! To turn off this warning, you have to do one of the following:
! - run me as a root or with --sudo option (to install to /usr/local
+/share/perl5 and /usr/local/bin)
| - run me with --local-lib option e.g. cpanm --local-lib=~/perl5
! - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (i
+n your shell rc file)
! - Configure local::lib in your shell to set PERL_MM_OPT etc.
!
--> Working on Attempt
Fetching http://search.cpan.org/CPAN/authors/id/M/MA/MARKF/Attempt-1.0
+1.tar.gz ... OK
Configuring Attempt-1.01 ... OK
Building Attempt-1.01 ... OK
Successfully installed Attempt-1.01
1 distribution installed
It makes installing modules quick and easy, and doesn't need to run as root. Another bonus is that it can be installed as a standalone script without needing to use cpan.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|