Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Perl Module Installation

by sabas (Acolyte)
on Jan 05, 2021 at 20:02 UTC ( #11126395=perlquestion: print w/replies, xml ) Need Help??

sabas has asked for the wisdom of the Perl Monks concerning the following question:

I am wondering if there is a way to install all the perl modules like complete packages available in one command?

Replies are listed 'Best First'.
Re: Perl Module Installation
by choroba (Archbishop) on Jan 05, 2021 at 20:22 UTC
    Yes, you can:
    cpan Acme::Everything

    But don't try it at home (in fact, don't try it at work either).

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      Good grief! Now I've seen everything.

      If anyone does this, please post back here with how long the installs takes.

        On which machine? my ol' SPARCstation, or else? ;)

        perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
Re: Perl Module Installation
by marto (Cardinal) on Jan 05, 2021 at 22:32 UTC

    In short, you don't want to do this. CPAN is full of many large application specific and often OS specific modules. What is the problem you're actually trying to solve?

      ...and here I thought this site was all about encouraging the newcomer to try new things!

      Just kidding. OP, seriously, I would highly recommend against doing this.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11126395]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2021-04-21 15:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found