Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Max Modules?

by Zecho (Hermit)
on Sep 30, 2001 at 13:50 UTC ( #115713=perlquestion: print w/replies, xml ) Need Help??

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

Kind of an odd thought... Are there any reasons to be concerned with the number of perl modules I have installed at any given time? I remember back when I used Windows, if you loaded too many fonts it'd cause serious problems (I'm sure this has been fixed). Not that I'm comparing modules to fonts, but are there any concerns as far as loading/parsing speed if there are a ton of modules installed? Or anything else I should be aware of?

Replies are listed 'Best First'.
Re: Max Modules?
by C-Keen (Monk) on Sep 30, 2001 at 14:03 UTC
    Short answer: No.
    Long answer: Perl uses the modules, e.g. loading it into memory, parsing and compiling it, when you need them. So just by having them installed on your computer, which is basically nothing other than having it copied to a place where the perl interpreter will find it, you will not experience any problems with running your system or the perl progam.


Re: Max Modules?
by perigeeV (Hermit) on Sep 30, 2001 at 14:20 UTC

    Unless you use a module in a process, modules are nothing more than disk filler. I guess it's conceivable that if you had many thousands of mods installed, and you use'd one that was in the last directory of @INC, things would slow down while perl looked for the .pm file. That's easily worked around though.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-05-13 10:32 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (134 votes). Check out past polls.