in reply to Runtime determination of TT plugin name

From a brief look at the TT docs, it appears that the plugins are object oriented, and take their name from the package they are in, so couldn't you use that fact to get the plugin name?

Sorry if this is completely wide of the mark, but i haven't been using perl since june of last year and am only just about to get back into it.

Hope this helped,
Yoda

p.s. i like the prolog code you are working on. managed to figure out how it worked even with my absence from perl.

  • Comment on Re: Runtime determination of TT plugin name

Replies are listed 'Best First'.
Re: Re: Runtime determination of TT plugin name
by Ovid (Cardinal) on Aug 08, 2002 at 21:18 UTC

    Um, um, uhhh... well, um, let's see.

    Here's a piece of free advice: never post to Perlmonks while hung over. I feel really stupid right now. Naturally, the first argument to the constructor is the class name. Sigh.

    As for the Prolog code, I've had to put it down for a bit while I caught up on my social life. I hope to return to it next week, but no promises :)

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.