Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: DWIM: autoloading classes

by perrin (Chancellor)
on Sep 17, 2003 at 04:01 UTC ( [id://292047]=note: print w/replies, xml ) Need Help??


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 15: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found