Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: What sets Perl back

by gunzip (Pilgrim)
on Dec 11, 2005 at 01:02 UTC ( [id://515774] : note . print w/replies, xml ) Need Help??

in reply to What sets Perl back

Can anyone suggest a UNIX platform which, in your experience, offers a hassle-free environment for Perl module installation? FreeBSD perhaps? Maybe I've just been unlucky hitting on 2 UNIX flavours which create problems for Perl modules?

Replies are listed 'Best First'.
Re^2: What sets Perl back
by skx (Parson) on Dec 11, 2005 at 01:44 UTC

    Firstly I'd suggest that almost all Linux, Unix, or *BSD variants should be able to install directly from CPAN. However many people dislike that if they have a packaging system in place upon their host.

    It can get problematic if you, say, install Perl modules from CPAN but your distribution has a perl upgrade and breaks them all. In that case using the packages provided for your distributions may be the best bet. (That is what I recommend anyway.)

    So from that point of view I find using Debian nice and simple. Many modules are packaged as .deb binary files, with a nice naming convention so they are easy to find.

    e.g. HTML::Template -> libhtml-template-perl, CGI::Application -> libcgi-application-perl.

    For the modules which aren't available as Debian packages you can easily create them - just by using a wrapper tool around CPAN's scripts:

    The short version is:

    apt-get install dh-make-perl build-essential dh-make-perl --build --cpan HTML::Template
Re^2: What sets Perl back
by BUU (Prior) on Dec 11, 2005 at 01:10 UTC
    Ya know, I've heard a couple of people complain about this recently, yet I can't even remember the last time I've had a (serious) problem with cpan. I just open a terminal, type "cpan module" and it downloads and installs almost instantly. No fuss, no muss, extremely easy.
Re^2: What sets Perl back
by xdg (Monsignor) on Dec 11, 2005 at 14:09 UTC

    If you want quality assurance, let me suggest you try ActiveState Perl on your existing platforms. They include the Perl Package Manager (PPM) that installs prepackaged binaries from the ASPN module repository (and other repositories as well). There is a slight delay from CPAN, but they automatically update to the latest versions within a week or so -- assuming that they pass an automated build process.


    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.