Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Yes, even you can use CPAN

by Skeeve (Parson)
on Apr 09, 2015 at 06:44 UTC ( [id://1122887]=note: print w/replies, xml ) Need Help??


in reply to Yes, even you can use CPAN

Yesterday I wanted to install Config::General on a system at work. But the admins in their wisdom removed (or did not install) ExtUtils::MakeMaker. When I looked at MakeMaker's source I was a bit astonished to see use ExtUtils::MakeMaker in it, but nevertheless gave it a try and it worked.

So for future reference (of myself and others) here is what I did, after downloading the source and unpacking it in my home directory to get my modules up:

cd ExtUtils-MakeMaker-7.04/ perl Makefile.PL INSTALL_BASE=/opt/sw/perl make make install cd ../Config-General-2.56 export PERL5LIB=/opt/sw/perl/lib/perl5/ perl Makefile.PL INSTALL_BASE=/opt/sw/perl make make install perl -MConfig::General -e 42

The last step was to verify it worked.


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1122887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-03-19 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found