Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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:

import java.io.*;

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-03-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found