Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Welcome to the Monastery
 
PerlMonks  

Re: DWIM: autoloading classes

by perrin (Chancellor)
on Sep 17, 2003 at 00:01 UTC ( [id://292047]=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: •Re: DWIM: autoloading classes
in thread DWIM: autoloading classes

It looks like Class::Autouse has a "superloader" option that will load any class as soon as you call a method on it.

Replies are listed 'Best First'.
Re: Re: DWIM: autoloading classes
by Ovid (Cardinal) on Sep 17, 2003 at 11:53 UTC

    I think liz's point about being careful about a potential security problem would be greatly magnified by the autouse functionality, though I confess that I have the same problem in my own sample code, though perhaps on a smaller scale. I wonder if it's safe to publish with a healthy "disclaimer". Hmm ...

    And thanks for the pointer. I hadn't seen that but I must confess that it looks very interesting.

    Cheers,
    Ovid

    New address of my CGI Course.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://292047]
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.