Re: What's new in Perl 5.6.0 - 5.8.0

2002-06-02 Thread Stas Bekman
Original Message Subject: Re: What's new in Perl 5.6.0 - 5.8.0 Date: Sun, 2 Jun 2002 20:39:54 +0200 From: Arthur Bergman <[EMAIL PROTECTED]> To: Stas Bekman <[EMAIL PROTECTED]> On söndag, juni 2, 2002, at 08:35 , Stas Bekman wrote: > > Arthur Bergman wrote: >> On söndag, ju

Re: What's new in Perl 5.6.0 - 5.8.0

2002-06-02 Thread Stas Bekman
Arthur Bergman wrote: > > On söndag, juni 2, 2002, at 07:30 , Stas Bekman wrote: > >> Also besides APR::PerlIO, are there any other things in mod_perl 2.0 >> that require 5.8.0? I don't recall anything else. > > > I would very much not run threaded mpm using 5.6.1 since regexes are > very br

Re: What's new in Perl 5.6.0 - 5.8.0

2002-06-02 Thread Arthur Bergman
On söndag, juni 2, 2002, at 07:30 , Stas Bekman wrote: > Also besides APR::PerlIO, are there any other things in mod_perl 2.0 > that require 5.8.0? I don't recall anything else. I would very much not run threaded mpm using 5.6.1 since regexes are very broken. Arthur ---

What's new in Perl 5.6.0 - 5.8.0

2002-06-02 Thread Stas Bekman
For my OSC 2.0 talk/book chapter in addition to what's new in Apache/mod_perl, I've also added a section on what's new in Perl 5.6.0 - 5.8.0, only things that have had an impact on mod_perl 2.0. Can you please review if I've missed something or added something which is irrelevant to mod_perl 2

Re: cvs commit: modperl-2.0/t/response/TestDirective perlmodule.pmperlrequire.pm

2002-06-02 Thread Stas Bekman
Doug MacEachern wrote: > On Sun, 2 Jun 2002, Stas Bekman wrote: > > >>Should the same change be applied for -Mblib, which you have used for >>demonstrating different @INC in two vhosts? I know it's not same as >>-Mlib=, the question is whether -Mblib works on darwin/5.6.0 > > > nope, seems

Re: moving /dist/apache-modlist.html

2002-06-02 Thread Doug MacEachern
On Sun, 2 Jun 2002, Stas Bekman wrote: > Doug, is it OK if we remove /dist/apache-modlist.html when releasing the > new site? It'll reside under > http://perl.apache.org/products/apache-modlist.html. Currently you can > see it at: http://perl.apache.org/release/products/apache-modlist.html >

Re: documenting SetHandler perl-script|modperl

2002-06-02 Thread Doug MacEachern
On Sun, 2 Jun 2002, Stas Bekman wrote: > Does this also mean that with 'SetHandler modperl' the coder should be > extremely careful not to pollute these globals and therefore we should > add a warning in the relevant docs? yes. ---

Re: documenting SetHandler perl-script|modperl

2002-06-02 Thread Doug MacEachern
On Sun, 2 Jun 2002, Stas Bekman wrote: > MP_perl_global_entries[] = { > {"END",MP_GLOBAL_OFFSET(end),MP_GLOBAL_AVCV}, /* END */ > > What's global END()? I thought END always belong to some namespace. nope. PL_endav is global. > {"ENV",MP_GLOBAL_OFFSET(env),MP_GLOBA

Re: cvs commit: modperl-2.0/t/response/TestDirective perlmodule.pmperlrequire.pm

2002-06-02 Thread Doug MacEachern
On Sun, 2 Jun 2002, Stas Bekman wrote: > Should the same change be applied for -Mblib, which you have used for > demonstrating different @INC in two vhosts? I know it's not same as > -Mlib=, the question is whether -Mblib works on darwin/5.6.0 nope, seems it was only the case i changed caused

Re: -DDL_UNLOAD_ALL_AT_EXIT

2002-06-02 Thread Doug MacEachern
On Sun, 2 Jun 2002, Stas Bekman wrote: > I'm compiling a list of changes in Perl 5.6-5.8 that have some impact on > mod_perl. Rafael Garcia-Suarez is reviewing this section and has asked > whether -DDL_UNLOAD_ALL_AT_EXIT is of any use to mod_perl. i'm not sure if -DDL_UNLOAD_ALL_AT_EXIT is of

env var visibility with SetHandler modperl

2002-06-02 Thread Stas Bekman
Consider the following config: PerlModule Apache::PrintEnv2 SetHandler modperl PerlResponseHandler Apache::PrintEnv2 PerlSetEnv EnvTest Apache::PrintEnv2 and the handler: sub handler { my $r = shift; $r->content_type('text/plain'); #$r->subprocess_env; for

moving /dist/apache-modlist.html

2002-06-02 Thread Stas Bekman
Doug, is it OK if we remove /dist/apache-modlist.html when releasing the new site? It'll reside under http://perl.apache.org/products/apache-modlist.html. Currently you can see it at: http://perl.apache.org/release/products/apache-modlist.html We have already prepared a redirect for it for any

an order of execution for PerlModule and PerlRequire regarding Apache2.pm

2002-06-02 Thread Stas Bekman
mod_perl.c: if (!modperl_config_apply_PerlRequire(s, scfg, perl, p)) { exit(1); } if (!modperl_config_apply_PerlModule(s, scfg, perl, p)) { exit(1); } Therefore the following fails: PerlModule Apache2 PerlRequire "/home/httpd/httpd-2.0/perl/startup.

Re: documenting SetHandler perl-script|modperl

2002-06-02 Thread Stas Bekman
Stas Bekman wrote: > Doug MacEachern wrote: > > There is one item of your reply I need more details about: > >>> SetHandler perl-script >> > ... > >>> implies: >> > ... > >>> * there are a few other things that happen in this function, what are >>>they? >> >> >> >> modperl_perl_global_re

Re: documenting SetHandler perl-script|modperl

2002-06-02 Thread Stas Bekman
Doug MacEachern wrote: There is one item of your reply I need more details about: >> SetHandler perl-script ... >>implies: ... >>* there are a few other things that happen in this function, what are >>they? > > > modperl_perl_global_request{save,restore} does something like local() for

Re: cvs commit: modperl-2.0/t/response/TestDirective perlmodule.pmperlrequire.pm

2002-06-02 Thread Stas Bekman
[EMAIL PROTECTED] wrote: > dougm 02/05/30 16:57:50 > > Modified:t/response/TestDirective perlmodule.pm perlrequire.pm > Log: > -Mlib= is broken on darwin/5.6.0, change to -I which works everywhere Should the same change be applied for -Mblib, which you have used for demonstratin

Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)

2002-06-02 Thread Per Einar Ellefsen
At 00:27 02.06.2002, Doug MacEachern wrote: >On Sat, 1 Jun 2002, Per Einar Ellefsen wrote: > > > You'll have to register a project... But why don't you just go ahead and > > register mod_perl? That doesn't imply anything, you can remove the CVS > > repository and point everything to the mod_perl w

Re: Build modperl2 when modperl1 is already installed

2002-06-02 Thread Stas Bekman
Doug MacEachern wrote: > ... > you should instead use the > MP_INST_APACHE2=1 option, then you can use the modperl-2.0/blib with > PerlModule Apache2 configured. > > also thinking about making MP_INST_APACHE2 the default. any thoughts on > that? If this becomes the default (uncontrollable