I didn't try that, however I did try this, which should be the same thing: $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no'; require Embperl;
which didn't work. I gave up on trying to do this nicely and just downloaded the source again and made a modification to the code so it doesn't print this log. -----Original Message----- From: Andrew O'Brien [mailto:[EMAIL PROTECTED] Sent: Sunday, December 02, 2007 2:52 PM To: embperl@perl.apache.org Subject: RE: EMBPERL_SESSION_HANDLER_CLASS = no Hi Jon, > I've read up on this a bit, and it seems that I should be > able to do this: > > $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no'; > > In my CGI or at least set the environment variable for apache > and put this is my httpd.conf > > PassEnv EMBPERL_SESSION_HANDLER_CLASS > > Neither of these work. I understand that putting the > following in my httpd.conf should work assuming that I've > loaded mod_embperl & mod_perl: > > EMBPERL_SESSION_HANDLER_CLASS no > > However, *I don't have mod_perl*. Is there any way to turn > this message off without mod_perl? If you're definitely not running under mod_perl (or Apache::Registry etc) then does putting the the environment setting in a BEGIN block help? ie BEGIN { $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no'; } ... use Embperl; ... My only worry would be making sure you are definitely not running in an environment that is caching any module compilations. There are several example cgi handlers that come with the Embperl distribution - it would be worth your while to have a look at these to see how Embperl recommends you pass things like this through. Cheers, Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]