Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Being helpful to a fault?by hardburn (Abbot) |
on Dec 11, 2003 at 15:29 UTC ( [id://314051]=note: print w/replies, xml ) | Need Help?? |
I don't think there is a situation where you would want to, by default, load in every module in a directory. Frankly, just because you don't see a reason for it, someone else may have a perfectly valid reason. In fact, I there is at least one good reason to do this: testing that all modules in a directory will load. Also, as another poster pointed out, this is supported by default in other languages, like Java:
Which is a case of Java supporting more laziness than Perl (a case which is quite rare). ---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Meditations
|
|