Re: [REPOST] MyClass::import() not being called.

2000-10-23 Thread Ken Williams
[EMAIL PROTECTED] (Rodney Broom) wrote: >I've got this happy little access handler that works just fine. I'm >loading it like this: > PerlAccessHandler MyClass > >Now I need for it to accept parameters through import(). That would let >me change the usage to something like this: > PerlAccessHandle

Re: [REPOST] MyClass::import() not being called.

2000-10-23 Thread Benjamin Trott
> The types of parameters I'll pass to this handler will change > machine-by-machine. You see, I need to run this package on several different > servers, and need it to know how to configure it's self. Okay... I don't think I get exactly why this situation makes using PerlSetVar impossible/imprac

Re: [REPOST] MyClass::import() not being called.

2000-10-23 Thread Rodney Broom
From: "Benjamin Trott" <[EMAIL PROTECTED]> > Unless I'm missing something rather obvious--or perhaps non-obvious--you > can't do this. If you provide multiple params to a Perl*Handler, that sets > up a stacked handlers for that request phase; it doesn't pass parameters to > the import method in

Re: [REPOST] MyClass::import() not being called.

2000-10-23 Thread Rodney Broom
From: "Carlos Ramirez" <[EMAIL PROTECTED]> CR> You can use PerlSetVar to set parameters like so: CR> PerlAccessHandler MyClass CR> PerlSetVar Param1 CR> PerlSetVar Param2 Yep, that's definately an effective work-around. My biggest concern is the fact that import() doesn't seem to be getting cal

Re: [REPOST] MyClass::import() not being called.

2000-10-23 Thread Carlos Ramirez
You can use PerlSetVar to set parameters like so: PerlAccessHandler MyClass PerlSetVar Param1 PerlSetVar Param2 in your handler (MyClass) you can call $r->dir_config('Param1') to get it's value; -Carlos     Rodney Broom wrote: Hi all, Did we forget me? (snif, snif...) I've got this happy little a

[REPOST] MyClass::import() not being called.

2000-10-23 Thread Rodney Broom
Hi all, Did we forget me? (snif, snif...) I've got this happy little access handler that works just fine. I'm loading it like this: PerlAccessHandler MyClass Now I need for it to accept parameters through import(). That would let me change the usage to something like this: PerlAccessHandle