Thanks Gerald, but I don't seem to get it working:
using lighttpd
setenv.add-environment = (
"EMBPERL_SESSION_HANDLER_CLASS" => "no",
"EMBPERL_ESCMODE" => "0",
"EMBPERL_OPTIONS" => "0x8000000", #optShowBacktrace = 0x8000000
"EMBPERL_INPUT_ESCMODE" => "0",
"GATEWAY_INTERFACE" => "1",
)
I put in my footer.epl "use noexists" which gets called by my index.epl
[13151]ERR: 24: Error in Perl code: Can't locate noexists.pm in @INC (@INC
contains: /usr/local/lib/perl5/site_perl/
/usr/local/lib/perl5/5.8.4//i686-linux-thread-multi
/usr/local/lib/perl5/5.8.4/
/usr/local/lib/perl5/5.8.4/i686-linux-thread-multi
/usr/local/lib/perl5/5.8.4 /usr/local/lib/perl5
as you can see, there's no mention of footer.epl in the error message.
Doing a print Dumper \%ENV in footer.epl does show
'EMBPERL_OPTIONS' => '0x8000000'
so the environmental variable is getting set.
any ideas?
-d
On Fri, Jan 26, 2007 at 10:46:49AM +0100, Richter, Gerald wrote:
> >
> > Is there a CGI equivalent environmental variable to set?
> >
>
> It's in EMBPERL_OPTIONS, you should look up the right numeric value from
> the docs
>
> Gerald
>
>
> >
> > On Tue, Oct 24, 2006 at 05:32:20AM +0200, Gerald Richter wrote:
> > > >
> > > > My point is that perl by default will give the stack trace when
> > > > calling it from commandline, and embperl does not show it.
> > > >
> > >
> > > Embperl passes through whatever Perl provides as error message.
> > >
> > > You can set optShowBacktrace to get additional information
> > about the
> > > calltree within Embperl Execute calls
> > >
> > > Gerald
> > >
> > >
> > >
> > > ** Virus checked by BB-5000 Mailfilter **
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > --
> > "You will never know how much it has cost my generation to
> > preserve your freedom. I hope you will make good use of it."
> > -- John Quincy Adams
> >
> > "Yes, we did produce a near-perfect republic. But will they
> > keep it? Or will they, in the enjoyment of plenty, lose the
> > memory of freedom? Material abundance without character is
> > the path of destruction." -- Thomas Jefferson
> >
> >
> > ** Virus checked by BB-5000 Mailfilter **
> > !DSPAM:45b98fbb299752076612602!
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
"You will never know how much it has cost my generation to preserve your
freedom. I hope you will make good use of it." -- John Quincy Adams
"Yes, we did produce a near-perfect republic. But will they keep it? Or will
they, in the enjoyment of plenty, lose the memory of freedom? Material
abundance without character is the path of destruction." -- Thomas Jefferson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]