Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Testing for a module's presence

by jpk236 (Monk)
on Feb 07, 2005 at 14:54 UTC ( [id://428680]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Testing for a module's presence
in thread Testing for a module's presence

Why wouldn't you want to? That's the beauty of FreeBSD.

Justin

Replies are listed 'Best First'.
Re^4: Testing for a module's presence
by ehdonhon (Curate) on Feb 07, 2005 at 19:12 UTC

    FreeBSD doesn't support every module ever written, and it certainly wouldn't support modules that the user has authored himself. Plus, if you install from FreeBSD ports, you are limited to using the version of Perl that FreeBSD is presently supporting.

    I really enjoy the power and beauty of the FreeBSD ports system, and use it very often. However, when it comes to CPAN.pm, it has its own beauty that often outshines even the ports system.

      I understand what you're saying how not every module is available through the ports system. I have found that modules that are available are labeled as p5-MODULE. However, if I install a module through CPAN, using perl -MCPAN -eshell, it still shows up when I run pkg_info, labeled as bsdpan-MODULE. So regardless of whether or not I used the ports, or CPAN, I can still use the power of pkg_info. I don't want to turn this into a flame war though. As the perl slogan goes: there is more than one way to do it.

      Justin
Re^4: Testing for a module's presence
by sth (Priest) on Feb 07, 2005 at 20:27 UTC

    I allow the ports to install the Perl Ports that they depend on, but I always compile my own version of Perl. I have a Cpan script that install modules that I need and set config for Cpan. This way I don't have to go to each port and install the modules. I have another script that takes the perl tar file and installs it in /usr/local/perl-?.?? dir, links /usr/local/perl to the new perl dir and then runs the Cpan script to set the config and install the modules. The Cpan config is set to "follow" all dependent modules. I find this much more convenient than using all the ports, which use the BSDpan module.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-20 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found