Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Re: Being helpful to a fault?

by hardburn (Abbot)
on Dec 11, 2003 at 15:29 UTC ( #314051=note: print w/replies, xml ) Need Help??

in reply to Re: Being helpful to a fault?
in thread Being helpful to a fault?

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).

I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://314051]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-10-20 08:17 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (79 votes). Check out past polls.