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.