Re: both apache 1.3 and 2

2002-07-09 Thread Gerald Richter
> > is it / will it be possible to have embperl be compiled for both > apache 1.3 and 2.0 and somehow choose the right module at load time? > You cannot run make install for both, but you can install one of them to a different location and adjust your lib path at load time to get the one loaded y

both apache 1.3 and 2

2002-07-09 Thread Angus Lees
is it / will it be possible to have embperl be compiled for both apache 1.3 and 2.0 and somehow choose the right module at load time? (i haven't even tried compiling against apache2 yet, this is just packaging speculation) -- - Gus

Re: problems running embpexec.pl

2002-07-09 Thread Gerald Richter
Hi, > > However, I was not trying to get ALL of Embperl running. All I cared about > was embpexec.pl. In fact, I'd like to know what I need to run embpexec.pl . > . . it it just Embperl.PM? or are there other bits and pieces that are > needed? I'd actually like to consolidate the needed files in o

Re: Questions about embperl_object_app

2002-07-09 Thread Gerald Richter
Hello. > > I have some questions about the embperl_object_app. > 1. Will that application object called every time if a page is requested? Once for every http request, _not_ for every file you include with Execute > 2. I have a configuration file similar to the configuration file in the web > ex

Re: returning lists from subroutines

2002-07-09 Thread Gerald Richter
Hi, > > > Whatever context this subroutine is called in, the return statement is always evaluated in scalar context, so if I called this with: > That's true. I think I should fix it and make behave it like in Perl. BTW. 1.3.4 isn't able to return values from subs at all (only as parametrer per r

Re: Problems with session

2002-07-09 Thread Gerald Richter
Hallo! > > Where is the problem? Is there any debug-nr, where i can check, what > happens during start of the apache. > As Angus already write, a stack back trace would be the best. In short do gdb /path/to/httpd set args -f /your/httpd.conf -X r -> you get the segfault BT you see the backtrac

RE: problems running embpexec.pl

2002-07-09 Thread John Almberg
Hi Gerald, Yes, I need to write it up for myself, anyway, so I can reproduce it on the next machine. However, I was not trying to get ALL of Embperl running. All I cared about was embpexec.pl. In fact, I'd like to know what I need to run embpexec.pl . . . it it just Embperl.PM? or are there othe

Re: problems running embpexec.pl

2002-07-09 Thread Gerald Richter
> Wow! I finally got it working. Great! > Anyway, the key was realizing that I had an up-to-date version of Perl on > the machine, but had to invoke it with perl5, not Perl. Once I figure that > out, the rest of the installation was fairly straight forward (by then, I'd > already figured out h

Fw: [win32] new perl/apache/mod_perl binary

2002-07-09 Thread Gerald Richter
There is a new binary for Windows from Randy. It also conatins mod_ssl and as Randy says you should be able to use ppm to install addtionaly Perl modules from Actives State. I forward his announcment, since it maybe of interest here - Original Message - From: "Randy Kobes" <[EMAIL PR

Re: %fdat and 0-length values

2002-07-09 Thread Gerald Richter
Hi, > > I think I have found a bug, or at least an undocumented feature. It's neither a bug nor undocumented. Just set optAllFormFields in EMBPERL_OPTIONS in your httpd.conf and you get all fields. BTW. optAllFormFields will be on by default for the next 2.0 beta Gerald --

%fdat and 0-length values

2002-07-09 Thread James Ponder
Hi, I think I have found a bug, or at least an undocumented feature. If the query string contains a field with a 0-length value (i.e. the empty string) Embperl does not pass this into %fdat, instead, it leaves it not existing in the hash (effectively undefined). For example: ?entry=&foo=bar

Questions about embperl_object_app

2002-07-09 Thread wolfgang--onsys . leideck
Hello. I have some questions about the embperl_object_app. 1. Will that application object called every time if a page is requested? 2. I have a configuration file similar to the configuration file in the web example that comes with embperl-2.0b8. How can i access the variables defined there in

returning lists from subroutines

2002-07-09 Thread James Ponder
Hi, I think there may be a bug in your subroutine handling code, or at least an unexpectedness that I can't find documented: [$ sub testsub $] [- my @a = ('foo', 'bar'); return @a; -] [$ endsub $] Whatever context this subroutine is called in, the return statement is always evaluated in s