Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Yes, even you can use CPAN

by Skeeve (Vicar)
on Apr 09, 2015 at 06:44 UTC ( #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
Node Status?
node history
Node Type: note [id://1122887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2019-10-17 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?