question: how does one access the environment variables when using 
mod_perl as a transhandler?

I notice that

    $r->subprocess_env->do(sub {
                          my($key, $value) = @_;
                          $r->warn("$key => $value\n");
                          1;
                       });

gives two different sets of results when used via a transhandler or via

PerlTransHandler Apache::Kudos::Test # yields near to nothing in subprocess_env


<Location /mod_perl_tutorial>
   SetHandler perl-script
   PerlHandler Apache::Tutorial::First
</Location>

The above does give the full ENV variables I would have expected.

Is there a better way to get at ENV stuff than subprocess_env?

- paul
-- 

--------------------- Kudosnet Technologies Inc. ---------------------
Support: [EMAIL PROTECTED]
Accounts: [EMAIL PROTECTED]
Sales: [EMAIL PROTECTED]
---------------------------- 1-877-885-8367 --------------------------

Reply via email to