in reply to Re: Loading a module at runtime...
in thread Loading a module at runtime...

Just thought I'd add that, as far as I know, 'use' happens at compile time only, so you have to 'require' modules at runtime. Also, for OO modules, is there any need to do an import?

Replies are listed 'Best First'.
Re: Loading a module at runtime...
by Abigail-II (Bishop) on Apr 08, 2003 at 10:44 UTC
    Well, that depends on what the module wants to do, doesn't? I sometimes let OO modules export constants, or a subroutine that returns an object. And there are other things you might want to do in an import.

    Abigail