Ruben Safir wrote:
nice. I thought I was the lone user of embperl at this point
I'm still here! My website is the largest bicycle touring journal site
in the world, running on Embperl since 2000. I'm sad that it's not what
all the cool kids use any more.
http://www.crazyguyonabike.com/
I
On 08/25/2016 06:36 PM, Ed Grimm wrote:
> What you have is a slow version of an Embperl subroutine. Use an actual
> Embperl subroutine instead. Use Execute at most once to load it.
>
> It's my understanding that generally, templates are done in
> Embperl::Object. But wh
I modified it to use [$sub$]
<https://perl.apache.org/embperl/pod/doc/Embperl.-page-3-.htm#sect_7>
and [+ local $escmode = 0; $something +]
I get the following error:
ERR: 24: Error in Perl code: Undefined subroutine
&Embperl::__82::subroutinecalled at ...
*--- main.epl*
What you have is a slow version of an Embperl subroutine. Use an actual
Embperl subroutine instead. Use Execute at most once to load it.
It's my understanding that generally, templates are done in
Embperl::Object. But when doing it that way, your template is stored in
your base Em
500 times - that's a lot!
Maybe you could run it once offline, and save the result as HTML?
Just an idea.
On Thu, Aug 25, 2016 at 10:35 PM, Donavon wrote:
> I have a loop that is calling Execute() to load a EMBPERL page as a
> template. This template sets up and contains a boot
I have a loop that is calling Execute() to load a EMBPERL page as a
template. This template sets up and contains a bootstrap modal and some
javascript . The page I'm using as a test calls the template at least 500x.
This is really slowing down the loading of the page for the client.
Just for the lists reference.
-- Forwarded message --
From: Andrew OBrien
Date: 28 February 2015 at 16:49
Subject: Re: Using CSS / JS in execute
To: Donavon Lerman
Hi Donavon,
I'm not sure exactly what you mean but if I understand you correctly, then
if the CSS or
Is there a way to use the CSS or JS of the calling .epl in the .epl that is
called via execute?
Thank You,
~Donavon
-
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h
can use the input option and read you the files on your own, just pass
> the mtime of the file as mtime option and Embperl will cache your files the
> same way if it has read the file on it's own.
> >
> > Hope this helps
> >
> > Gerald
> >
> >
>
;> -Original Message-
>> From: Perlover [mailto:perlo...@gmail.com]
>> Sent: Wednesday, September 26, 2012 12:18 PM
>> To: embperl@perl.apache.org
>> Subject: Input files in Execute and PerlIO layers for theirs + object_base
>> option doesn't work
>>
&g
s the same
way if it has read the file on it's own.
Hope this helps
Gerald
> -Original Message-
> From: Perlover [mailto:perlo...@gmail.com]
> Sent: Wednesday, September 26, 2012 12:18 PM
> To: embperl@perl.apache.org
> Subject: Input files in Execute and
Hi,
I resolved one question (_base.epl)
I found in your mail archive that i should set too 'appname' option
(but no any tips in documentation about this). Now 'base.epl' works
Second question about layer for reading of 'inputfile' is not resolved by me :(
---
Dear Gerald,
I have some problems with Embperl 2.4.0 (perl v.5.14.2)
First, i use Embperl in my own environment (no mod_perl, apache, fcgi
and etc). Only process under Starman server
I want to use Embperl as:
my $out;
Embperl::Object::Execute({
inputfile => &q
. (Pardon me if this is the wrong way to do it, I'm maintaining a
very old code base and adapting it as well as I can.)
In the handler I run the basic Execute:
Embperl::Execute({
inputfile => $embperl_file,
output =>
Using Embperl 2.4.0_3
- embperl1.pl -
use Embperl;
my $obj = Embperl::Execute({ object => 'test.epl' });
print "[$obj]\n";
if($obj->can('head')) {
print "YES";
$obj->head();
}
- test.epl -
[$ sub head $]
head
[$
Hi,
You don’t need Embperl::Object. Embperl::Object is only if you need to search
(sub-)directories, like objects.
You should do something the following
Gerald
use Embperl;
my $obj = Embperl::Execute({ object => 'test.epl' });
$obj -> head ;
Thank you Gerald and Andrew - that's most helpful and much appreciated
Michael
On Mon, Jul 26, 2010 at 9:06 AM, Gerald Richter - ECOS <
gerald.rich...@ecos.de> wrote:
> Hi Michael,
>
>
>
> one way of figuring out if it was called through Execute is to use the
OK, so I've decided to try to use import instead. I'm seeing this error:
--- embperl2.pl ---
use Embperl;
Embperl::Execute({ inputfile => 'test.epl', 'import' => 1 });
head();
--- test.epl ---
[$ sub head $]
head
[$ endsub $]
main
-
> From: Thompson, John [mailto:jth...@midwestern.edu]
> Sent: Tuesday, 27 July 2010 2:47 AM
Hi John,
> I am attempting to use the Execute({ object => '...' })
> feature but am seeing strange results. Here are my two files:
Firstly, test.epl does not do what you thin
I am attempting to use the Execute({ object => '...' }) feature but am
seeing strange results. Here are my two files:
- embperl1.pl -
use Embperl;
my $obj = Embperl::Execute({ object => 'test.epl' });
print "[$obj]\n";
---
- test.epl -
[$ sub hea
Hi Michael,
one way of figuring out if it was called through Execute is to
use the caller funtction of Perl.
The other one you can try it to use sub_req:
sub_req
top
Method
Hi Michael,
> Thanks for the email. I'm actually using @param to return
> data (as well as the HTML) to the epl script which is calling
> another one via Execute. Perhaps there's a better way.
I think you may just be missing one piece of the puzzle: using
references with
Hi Ed,
Thanks for the email. I'm actually using @param to return data (as well as
the HTML) to the epl script which is calling another one via Execute.
Perhaps there's a better way.
Michael
On Fri, Jul 23, 2010 at 4:38 AM, Ed Grimm wrote:
> If your Embperl pages are calling
Thanks Gerald,
That's good to know for the future. Is there a way to know if the code has
been called through Execute? I am actually using the same code both
directly and via Execute.
Michael
On Wed, Jul 21, 2010 at 10:19 AM, Gerald Richter - ECOS <
gerald.rich...@ecos.de> wr
12:46 PM
> To: Ed Grimm
> Cc: cabell.demarcel...@dianomi.com; embperl@perl.apache.org; Michael
> Smith
> Subject: Re: @param seems to be shared between Execute calls
>
> My actual problem is occuring under Apache, and what I'm expecting is
> for things to be cleaned up betw
he 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 fire. I suspect each
scr
Hi Michael,
@param is only intented to be used to pass parameters to Execute. Setting it
directly might work or might not…
If you want to share data inside a request use
$epreq -> {test} = 1 ;
The hash of $epreq is not used by Embperl itself, so you are free to use it and
en a few for
> get.epl)
>
> This only seems to be relevant if I reference param in the epl file I am
> calling directly. If I reference it in epl files which are loaded in by
> Execute, then they do appear to get cleaned up.
I think, in "set.epl" you create a global va
ference it in epl files which are loaded in by
Execute, then they do appear to get cleaned up.
Michael
On Tue, Jul 20, 2010 at 10:20 PM, Ed Grimm wrote:
> Note that, under Apache, the cleanup code happens at the end of each
> request - each of which could have dozens of Execute call
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 cl
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({
to:jth...@midwestern.edu]
Sent: Tuesday, June 22, 2010 9:31 PM
To: embperl@perl.apache.org
Subject: RE: Execute( sub =>...) and (object => ...)
Ok so I figured out that the Execute( param => ... ) still goes into @param not
@_. Any idea why the ( object => $template ) isn’t working?
Hi John,
> -Original Message-
> From: Thompson, John [mailto:jth...@midwestern.edu]
> Sent: Wednesday, 23 June 2010 5:31 AM
> Ok so I figured out that the Execute( param => ... ) still
> goes into @param not @_. Any idea why the ( object =>
> $template ) i
Ok so I figured out that the Execute( param => ... ) still goes into
@param not @_. Any idea why the ( object => $template ) isn't working?
From: Thompson, John [mailto:jth...@midwestern.edu]
Sent: Tuesday, June 22, 2010 10:50 AM
To: embperl@perl.apache.org
Subject: Execute( sub
I am attempting to #1 determine if a function is defined in a template
and if so #2 call it sending it parameters all from outside the
template.
I first thought I might just grep for [$ sub name $] and if found do:
my $html;
Embperl::Execute({inputfile => $templ
savicom.net]
> Sent: Tuesday, March 23, 2010 5:21 PM
> To: Gerald Richter - ECOS; embperl@perl.apache.org
> Subject: Re: Embperl::Object::Execute() returns -1
>
> There was nothing else in the apache error log. I had coded a warn
> whenever
> the return value was -1 and that
avicom.net
(415) 617-9006
- Original Message -
From: "Gerald Richter - ECOS"
To: "Doug Rayner" ;
Sent: Monday, March 22, 2010 11:46 PM
Subject: RE: Embperl::Object::Execute() returns -1
Did you take a look in the error log (i.e. STDERR of your FastCGI process).
Embperl::Object::Execute() returns -1
>
> We use FastCGI to process Embperl requests using a slightly modified
> version
> of the epocgi.pl script. From time to time, the
> Embperl::Object::Execute()
> function returns a non-zero value. Some are associated with normal
> HTTP
&
We use FastCGI to process Embperl requests using a slightly modified version
of the epocgi.pl script. From time to time, the Embperl::Object::Execute()
function returns a non-zero value. Some are associated with normal HTTP
problems (e.g., the return value is 404 if there was an HTTP 404
Andrew;
Thanks for the suggestion. I had tried using Execute with the subreq
option, but I had problems, which might be related to our using FastCGI.
I also had tried using Execute with the object option, which seemed ideal,
but could not get it to work. Your pointer to the documentation
Hi Doug,
> From within one request, I'm trying to Execute() an HTML
> template from
> another part of the application. That template is dependent
> on App object
> methods defined in the _app.pl that is in the same directory
> as the HTML
> template. However,
From within one request, I'm trying to Execute() an HTML template from
another part of the application. That template is dependent on App object
methods defined in the _app.pl that is in the same directory as the HTML
template. However, the Execute() seems to use the Req and App objects
it from Embperl::Object by default, and am trying to
call Embperl::Object::Execute for the cases in which it does need to
use the template.
Here is a simplified test version of that page:
[-
use Embperl::Object;
$to = "cruel";
$testpage = "testhello [+ $to +] world";
Embp
Understood and yes Embperl::Object logic is very useful indeed.
Villu
Hi,
>
> Searched through the documentation and mailing lists but
> could not find the exact information.
> What are the most important differences between using normal
> perl module with:
>
> use Package::Module
>
> $obj = Package::Module->new();
>
> o
Hello,
Searched through the documentation and mailing lists but could not find the
exact information.
What are the most important differences between using normal perl module
with:
use Package::Module
$obj = Package::Module->new();
or using
$obj = Execute({object => 'packag
>
> Something like:
>
> [- Execute syntax="SSI" ('includes/header.shtml') -]
>
> perhaps?
>
Use
[- Execute ({ syntax => "SSI", inputfile => 'includes/header.shtml'}) -]
> Also, what has to be done to get embpcgi.pl to
Is there a simpler way of specifying that I'd like
a particular file Execute'd in a particular syntax,
than this ugly thing:
[$ syntax SSI $]
[$ syntax Embperl $]
Something like:
[- Execute syntax="SSI" ('includes/header.shtml') -]
perhaps?
Also, what has t
Hello all,
It's been a long time out of Embperl...
I'm using Execute inside of EmperlObject pages to produce non-html data
and the newline produced after each execute is causing seriuos problems.
Is there any way or option to remove this newline?
I tried to use seek OUT, 0, 0 bu
nder Apache 2.2.3.
> I have successfully setup Embperl 2 for templating my
> website (templates display properly for .html files). What I
> am trying to do now is convert some PERL scripts I have to
> make use of the Embperl templating features with only minor
> modifications
eatures with only> minor modifications ($r->print to
Embperl::Object::Execute...).A bit of additional information on my end goal for this effort is to get Embperl templating to work with my existing AuthCookie handler (putting any discussion of using Embperl cookie handlers aside for the mom
with only minor modifications ($r->print to
Embperl::Object::Execute...).
Here is a test script before conversion:
my $r = shift;
subTest(\$r);
sub subTest {
my $r = shift;
my ($content,$cgienvvar);
$content = "";
$content .= " Test \n";
> > This not work too.
> >
> > [-
> >@tmp = (1 .. 3);
> >
> >foreach $r (@tmp) {
> > $fdat{'test_'.$r} = $r;
> > $out = "\n";
> > Execute ({ input => \$out, inputfile => 'foo',
I tried to do it in new version EmbPerl 2.2.0 but is doestnt work.
Matis.
2.2.0
2006/8/21, Marek Matis <[EMAIL PROTECTED]>:
This not work too.
[-
@tmp = (1 .. 3);
foreach $r (@tmp) {
$fdat{'test_'.$r} = $r;
$out = "\n";
Execute ({ input =
This not work too.
[-
@tmp = (1 .. 3);
foreach $r (@tmp) {
$fdat{'test_'.$r} = $r;
$out = "\n";
Execute ({ input => \$out, inputfile => 'foo', mtime=> $r});
}
-]
Marek
2006/8/18, Ben K. <[EMAIL PROTECTED]>:
> This is only
This is only demo example.
I need uses Execute in loo than how Embperl 1.3.
I show the same symptom...
If situations allow will this be a workaround?
[-
@tmp = (1 .. 3);
foreach $r (@tmp) {
$fdat{'test_'.$r} = $r;
$out .= "\n";
}
Execute ({ input =>
= (1 .. 3);
> >
> > foreach $r (@tmp) {
> >
> > $fdat{'test_'.$r} = $r;
> > $out = "\n"; Execute ({
> > input => \$out }); } -]
> >
>
> Try
>
> $out = "\n"; Execute
Not work. Embperl always cache the input code. 2006/8/18, Gerald Richter <[EMAIL PROTECTED]>:
>> [-> @tmp = (1 .. 3);>> foreach $r (@tmp) {>> $fdat{'test_'.$r} = $r;> $out = "\n"; Execute ({> input => \$out }); } -]
>Try$out = "\
>
> [-
> @tmp = (1 .. 3);
>
> foreach $r (@tmp) {
>
> $fdat{'test_'.$r} = $r;
> $out = "\n"; Execute ({
> input => \$out }); } -]
>
Try
$out = "\n"; Execute ({
input => \$out, inputfile => 'foo', mtime =
This is only demo example.I need uses Execute in loo than how Embperl 1.3. 2006/8/18, Michael Smith <[EMAIL PROTECTED]>:
Hi Marek,I'd suggest something a bit more like this (it's untested but hopefully you get the idea):[- @tmp=(1..3) -][$ foreach $r (@tmp) $]
[$ endforeach $
AIL PROTECTED]> wrote:
Hi, I have problem with Execute (EmbPerl2.0r3). [-@tmp = (1 .. 3);foreach $r (@tmp) {$fdat{'test_'.$r} = $r;$out = "\n";
Execute ({ input => \$out });}-]Output is:
I need this:
Thanks Marek
Hi, I have problem with Execute (EmbPerl2.0r3). [-@tmp = (1 .. 3);foreach $r (@tmp) {$fdat{'test_'.$r} = $r;$out = "\n";
Execute ({ input => \$out });}-]Output is:
I need this:
Thanks Marek
>
> > > [- print WEB "blablabla" -]
> >
> > You need to print to OUT inside your Embperl code
>
> That works too, except when I do this in a external package, e.g.
>
>
In an external package you need to tie a filehandle to Embperl::Out eg.
tie OUT, 'Embperl::Out' ;
Gerald
** Virus
> > [- print WEB "blablabla" -]
>
> You need to print to OUT inside your Embperl code
That works too, except when I do this in a external package, e.g.
foo/bar.pm
package Foo::Bar;
[...]
sub say1 {
print OUT "DEBUG1: ";
printf OUT @_;
>
> > I now tried various definitions, such as
> >
> >
> > sub say {
> > local $msg = shift;
> > Embperl::Execute({input=>\$msg, inputfile=>$msg});
> > }
>
> [...]
>
> > and am still getting always the same
> I now tried various definitions, such as
>
>
> sub say {
> local $msg = shift;
> Embperl::Execute({input=>\$msg, inputfile=>$msg});
> }
[...]
> and am still getting always the same string printed out.
No, it does seem to be working for me no
can make this work
> > in a simple script, like
> >
> > [- $msg = 'hello world' -]
> > [- Embperl::Execute({input=>\$msg}) -]
>
> You always need to specify the inputfile parameter (it doesn't matter with
> what value). Embperl used it as
lo world' -]
>[- Embperl::Execute({input=>\$msg}) -]
You always need to specify the inputfile parameter (it doesn't matter with
what value). Embperl used it as a cache key for the source code, so if you
have different source code, you should use a different string as key to
inputfil
.
At
http://www.ecos.de/embperl/pod/doc/Config.-page-1-.htm#sect_3
I find an example of how to invoke the Embperl parser from a Perl program, and
indeed I can make this work in a simple script, like
[- $msg = 'hello world' -]
[- Embperl::Execute({in
At
http://www.ecos.de/embperl/pod/doc/Config.-page-1-.htm#sect_3
I find the following example of how to invoke the Embperl parser from a Perl
program, and indeed I can make this work in a simple script, like
[- $msg = 'hello world' -]
[- Embperl::Execute({in
ors) {
> >if (/FIXME/) {
> > # respond to this error
> >}
> > }
> >
> > That should enable you to respond to all the "FIXME" errors.
>
> I agree that this is easy to do in the case of errors which
> are simply strings. However I would lik
or
>}
> }
>
> That should enable you to respond to all the "FIXME" errors.
I agree that this is easy to do in the case of errors which are simply
strings. However I would like to be able to return hash references as
errors, such as
with: croak \%error
The way that Exe
On Sun, Feb 12, 2006 at 04:15:03PM -0500, Dan Lenski wrote:
> I've recently learned to use the error-catching feature of
> Embperl::Object's Execute command. The thing I'm wondering is if it's
> possible to make it return just the string or object that I pass to
&g
I've recently learned to use the error-catching feature of
Embperl::Object's Execute command. The thing I'm wondering is if it's
possible to make it return just the string or object that I pass to
the croak/die command, rather than the complete Embperl error message.
I woul
I've recently learned to use the error-catching feature of Embperl's
Execute command. The thing I'm wondering is if it's possible to make
it return just the string or object that I pass to the croak/die
command, rather than the complete error message.
I would like to be
at DOM.xs:258
Could you make sure that you inlcude the parameter debug => 0x7ff in
your call to Execute and send the resulting embperl.log file to me
Gerald
** Virus checked by BB-5000 Mailfilter **
-
To unsubscr
Hi,
>
> I'm having some issues with Getting Embperl's fdat to work
> when I call Embperl::Execute from within a mod perl handler.
>
> I want to do this:-
> Embperl::Execute({
> #req_rec=>$self->request,
>
Hi all,
I'm having some issues with Getting Embperl's fdat to
work when I call Embperl::Execute from within a mod
perl handler.
I want to do this:-
Embperl::Execute({
#req_rec=>$self->request,
inputfile=>&
Hi Gerald,
On Sun, Oct 02, 2005 at 05:58:42PM +0200, Gerald Richter wrote:
> > On Sat, Oct 01, 2005 at 04:07:25PM +0200, Gerald Richter wrote:
> > > >
> > > > The log looks ok and shows that the bug is fixed.
> > > >
> > > > Could you make a stack back trace from the segfault?
> > >
> > > Could
>
> On Sat, Oct 01, 2005 at 04:07:25PM +0200, Gerald Richter wrote:
> > >
> > > The log looks ok and shows that the bug is fixed.
> > >
> > > Could you make a stack back trace from the segfault?
> >
> > Could you try if make test works for you?
> >
> > If make test segfaults, run make testgdb
gfaults, run make testgdb to get the stackbacktrace
make test works - all tests successful. My example segfaults from the
commandline every time, but trying to run it under perl -d ends in a hang
rather than a segfault:
calix:~/tmp/embperl-object-execute$ perl -d /usr/bin/embpexec.pl execute.html
Loading
>
> The log looks ok and shows that the bug is fixed.
>
> Could you make a stack back trace from the segfault?
>
Could you try if make test works for you?
If make test segfaults, run make testgdb to get the stackbacktrace
Gerald
** Virus checked by BB-5000 Mailfilter **
---
> On Thu, Sep 29, 2005 at 08:03:11PM +0200, Gerald Richter wrote:
> > > With that patch it's certainly better, in that the page actually
> > > produces some output, but that example I sent is still
> segfaulting
> > > for me:
> > >
> >
Hi,
>
> With that patch it's certainly better, in that the page
> actually produces some output, but that example I sent is
> still segfaulting for me:
>
> calix:~/tmp/embperl-object-execute$ embpexec.pl execute.html
> 2 + 2 = 4
> Segmentation fault
&
Hi Gerald,
On Fri, Sep 23, 2005 at 11:30:16PM +0200, Gerald Richter wrote:
> > On Tue, Sep 13, 2005 at 08:56:20AM +0200, Gerald Richter wrote:
> > > > Does that make sense Gerald? The corresponding code works
> > fine using
> > > > HTML::EmbperlObject::Execut
Hi,
>
> On Tue, Sep 13, 2005 at 08:56:20AM +0200, Gerald Richter wrote:
> > > Does that make sense Gerald? The corresponding code works
> fine using
> > > HTML::EmbperlObject::Execute.
> >
> > Yes, this makes more sense.
> >
> > Do you cal
Hi Gerald,
On Tue, Sep 13, 2005 at 08:56:20AM +0200, Gerald Richter wrote:
> > Does that make sense Gerald? The corresponding code works
> > fine using HTML::EmbperlObject::Execute.
>
> Yes, this makes more sense.
>
> Do you call this from the commandline or from with
Hi,
>
> The app is my ewok CMS -
> http://www.openfusion.com.au/labs/ewok/. I use
> Embperl::Object::Execute for 'publishing' static pages to an
> output scalar (and thence to a file). In ewok the code lives
> in a perl module rather than in the page like the exam
On Tue, Sep 13, 2005 at 05:21:58AM +0200, Gerald Richter wrote:
> > Porting an apache1 / HTML::Embperl app to apache2 / Embperl,
> > and I'm getting segfaults doing an Embperl::Object::Execute
> > under mod_perl. Simple example:
> >
> > - sim
Hi,
>
>
> Porting an apache1 / HTML::Embperl app to apache2 / Embperl,
> and I'm getting segfaults doing an Embperl::Object::Execute
> under mod_perl. Simple example:
>
> - simple.html:
>
> 2 + 2 = [+ 2 + 2 +]
>
> - execute.html:
>
> [- Embperl:
Porting an apache1 / HTML::Embperl app to apache2 / Embperl, and I'm getting
segfaults doing an Embperl::Object::Execute under mod_perl. Simple example:
- simple.html:
2 + 2 = [+ 2 + 2 +]
- execute.html:
[- Embperl::Object::Execute({ inputfile => 'simple.html', appname =>
HI Neil,
>
> Thanks for the (offline) help - I think I have fixed most or
> all of the warnings and errors in my main body of code which
> Embperl 2 was picking up on, so now I get a "clean
> preload"...
Good news :-)
>
> I had a minor issue with Embperl 2 thinking there were some
> misma
Gerald Richter wrote:
Basically when path is in there, it crashes, when path is not
there, it works. Is there anything about this that gives a clue?
The path must be an array ref and not a string e.g.
path => [
'/www-dev/vhosts/www.crazyguyonabike.com/htdocs/journal/',
'/www-dev/vhosts/www.
y, August 04, 2005 4:16 AM
> To: Gerald Richter
> Cc: embperl@perl.apache.org
> Subject: Re: Embperl::Execute under 2.0
>
> Gerald Richter wrote:
> >>Hi Gerald,
> >>
> >>I tried adding the Embperl::Init() to the startup script, after the
> >>
Gerald Richter wrote:
Hi Gerald,
I tried adding the Embperl::Init() to the startup script,
after the 'use' and before the preload routine is called. Now
it gives a segmentation fault:
I have spent some more time debugging this and it is a problem with module
initialisiation order under Ap
Hi Neil,
>
> Gerald Richter wrote:
> > This should work out of the box under mod_perl 2, for mod_perl 1
> > please add a
> >
> > Embperl::Init () ;
> >
> > before the first call to Execute in your startup script.
> >
> > The init cal
Gerald Richter wrote:
This should work out of the box under mod_perl 2, for mod_perl 1 please add
a
Embperl::Init () ;
before the first call to Execute in your startup script.
The init call is done by Embperl automaticly, but under mod_perl 1 it's done
a little later, so you have to
2, for mod_perl 1 please add
a
Embperl::Init () ;
before the first call to Execute in your startup script.
The init call is done by Embperl automaticly, but under mod_perl 1 it's done
a little later, so you have to do it manually, in case you want to execute
something during startup.
Let m
Gerald Richter wrote:
Looks like it is linked staticly. The easiest way to verify this, is to run
httpd -l
If mod_perl shows up it's staticly linked.
Yes, it is listed there, so I guess it is static.
I'm hoping that a successful move to Embperl 2.0 might make
it go away.
I don't expect s
Hi,
>
> Gerald Richter wrote:
> > Is mod_perl staticly compiled into Apache or loaded as module?
>
> I think I am building it statically into Apache. I wrote a
> script to help automate the process:
>
Looks like it is linked staticly. The easiest way to verify this, is to run
httpd -l
If mo
1 - 100 of 342 matches
Mail list logo