Re: redefined subroutine (was: PHP and mod_perl -- Almost there.)

2000-11-29 Thread Gerald Richter
> ... There is one thing that is bugging me though. There are a lot of error > messages in the error_log that complain about constant.pm subroutines being > redefined... > > Constant subroutine optKeepSrcInMemory redefined at > /usr/lib/perl5/5.00503/constant.pm line 175. This seems to be caused

PHP and mod_perl -- Almost there.

2000-11-29 Thread Steve Wilder
Yes. I was able to recompile PHP, mod_perl, and Apache so that they are no longer DSO's (what a fat Apache)... thanks to Martin! tomcat also seems to be running fine. Embedded Perl version 5.00503 for Apache/1.3.12 (Unix) tomcat/1.0 PHP/4.0.2 mod_perl/1.24 process 24658, running since Wed

Re: escmode and OUT

2000-11-29 Thread Gerald Richter
> > [- $fdat{'x'} = 'I was processed by embperl'; -] > > > This is equal to [- $fdat{'x'} = 'I was processed by embperl'; -] Embperl automaticly inserts the value attribute is it finds a value in %fdat Gerald - To un

RE: escmode and OUT

2000-11-29 Thread Steve Wilder
If I may be so bold, I believe the syntax your looking for is as follows: [- $fdat{'x'} = 'I was processed by embperl'; -] Steve Wilder Matrix Interactive, Inc. http://www.matrixinteractive.net/ Desk: 248.814.8235 Cell: 248.894.3128 Fax : 248.814.8236 -Original Message- From: Gera

Re: InputFunc & Embperl

2000-11-29 Thread Gerald Richter
> > The "apachectl confgtest" is ok but i restart a httpd then there errors are > logged: > undefined subroutine &AZInput::AZInput > At the first glance it looks ok. Are you sureyour startup.perl is really execute at server startup (i.e. you have PerlRequire startup.perl in your httpd.conf) ? Yo

InputFunc & Embperl

2000-11-29 Thread Aleksey Zvyagin
Hi! I need to use EMBPERL_INPUT_FUNC feature (for the cutting a some localization tags). I have written the input func and put it to startup.perl module which is loaded at startup apache & mod_perl: # startup.perl piece: sub AZInput::AZInput { my ($r, $in, $mtime) = @_ ; open F, $r -