We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Re: Being helpful to a fault?
by hardburn
|
|