Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Being helpful to a fault?

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.