in reply to Re: Re: DWIM: autoloading classes
in thread DWIM: autoloading classes

Not that I want to export anything: I do everything OO and nothing gets exported in my modules. If there are any global flags that would need to be set, I use class method accessors for them.

But anyway, but I fail to see what more evil things you could do with an exporter that you couldn't already do.

So what ev(i|a)l things exactly are you referring to?

Liz

Replies are listed 'Best First'.
Re: Re: Re: Re: DWIM: autoloading classes
by tsee (Curate) on Sep 18, 2003 at 16:59 UTC

    Stuff like string eval of changing to the calling package and invoking the import routine from there. Then go back to the (main module) package you were using to load the other modules.
    I don't know whether that's already enough to fool caller().

    Steffen