At 9:09 PM +0100 3/18/02, Gerald Richter wrote:
>  > I have some perl libraries that check to see if they are running in
>>  Embperl so they can use certain things (typically OUT and escmode).
>>  What's the best way to make it possible for them to run under either
>>  environment?
>
>Instead of using Embperl::OUT etc. directly, make an alias into your
>package. You can make this alias to HTML::Embperl or Embperl, depending from
>where you are called, e.g.:

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.

-- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED]

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

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

Reply via email to