in reply to Re: Loading an unknown module
in thread Loading an unknown module

I don't think there's any point in using autouse that way, as the main purpose of autouse is to delay loading of the module from compile time to run time and if you call autouse dynamically, that's pretty much the same thing as using a straight eval.

Replies are listed 'Best First'.
Re: Re: Re: Loading an unknown module
by broquaint (Abbot) on Jun 28, 2002 at 12:31 UTC
    OMG, someone recommending against modules! <simpsons voice="Chief Wiggum">Get 'em boys</simpsons>. Seriously though the reason for using autouse in this case is the same as any situation in where you can use a module over rolling your own. There's also the fact that autouse != eval 'use Module'. Although it's not necessary I think I'd prefer to use a core module over my own code, but as always TIMTOWTDI.
    HTH

    _________
    broquaint