There's more than one way to do things | |
PerlMonks |
Re^2: Avoiding loading modulesby djp (Hermit) |
on May 07, 2007 at 03:19 UTC ( [id://613882]=note: print w/replies, xml ) | Need Help?? |
Expanding on this, you should make sure your modules are loaded on a fast (usually local) drive, and that the fast drive directories are mentioned first in @INC. Startup can spend a lot of time executing stat(1) on networked directories, trying to locate '.pm' files. Ideally you should avoid having networked directories in @INC altogether.
In Section
Seekers of Perl Wisdom
|
|