splatnix Posted March 26, 2004 Share Posted March 26, 2004 I'm not a big perl person - mainly because I don't know a single thing about it (I plan on fixing this). I recently found out about CPAN, and found that installing perl modules (perl-Tk, perl-LWP (aka libwww-perl), etc) is a LOT easier. I'm curious though, what are the benefits of using the CPAN shell for installing components versus manually pulling the source or using packages? I'm having difficulties finding any "easy read" material. For those curious and/or not understanding what I'm talking about: $ su $ perl -MCPAN -eshell cpan> install LWP cpan> install Tk cpan> quit $ Also, in doing this, I followed the defaults for setting up both LWP and Tk. GPRS Easy Connect seems to run fine (program that required both packages), but are there any optimizations for this that I should consider? Link to comment Share on other sites More sharing options...
JelloSnake Posted March 28, 2004 Share Posted March 28, 2004 CPAN is a lot easier to install packages then manualy installing packages, simply because you get the most recent version, and it runs all of the tests. If you feel comfortable, or if you have special compile needs, then by all means, download it and manually compile and install the packages, but just using CPAN is just almost as easy as using apt, or apt-get. Link to comment Share on other sites More sharing options...
Recommended Posts