Note that, under Apache, the cleanup code happens at the end of each
request - each of which could have dozens of Execute calls, between which
it is very definitely NOT called.
I have not used Embperl much from within server scripts, but in my limited
use there, I've never seen the cleanup code
Hi.
We're seeing an odd bug where @param seems to be shared between Execute
calls in the same process. The following code is a test case for this:
#!/usr/bin/perl -w
use strict;
use Embperl;
my $output1;
my $input = '[- $param[0]->{hello} = 42; -]';
Embperl::Execute({
inputfile =>
Hi.
I was trying to test something else when I discovered this script is
enough to segfault embperl:
use strict;
use Embperl;
my $output1;
my $input = "";
Embperl::Execute({
inputfile => "blah",
input => \$input,
output => $output1,
});
The mistake is that I'm providing $ou
Hi.
Was trying to work out how execute works and found a few typos in the
docs while I was looking.
Diff against svn attached.
--
Michael Stevens
Dianomi Ltd
18 Buckingham Gate
London SW1E 6LB
Tel: 020 7802 5530
Fax: 020 7630 7356
www.dianomi.com
The information in this message and any atta