>
> That's fine, but how do I tell which one called me?  The joys of
> object-oriented programming--my module is two deep down to easily be
> passed the information.
>

If only one module of both is loaded, you can simply test for existens for
some symbol you now that should exist e.g.

if (define(&Embperl::handler))
    .....

if both are used in the same server that won't work, and you have to walk up
your call stack using the caller function, to see from where you are called

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to