ANNOUNCE: Embperl 2.0rc5

2005-08-07 Thread Gerald Richter
> > The URL > > ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0rc5.tar.gz > > has entered CPAN as > > file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0rc5.tar.gz > size: 656227 bytes >md5: 244acfd699cb055feb8c275d0740ba28 > All issues I am aware of are solved, so hopefully this

Re: mod_perl2 and PHP

2005-08-07 Thread Eric
At 10:07 AM 8/6/2005, Tony Clayton wrote: Quoting Thomas Klausner <[EMAIL PROTECTED]>: > Hi! > > Is it possible and advisable to write the complex part of an > application > (the Controller, if you like) in mod_perl2 and use PHP as a frontend > (or > View) ? It should be possible, perhaps by ca

[PATCH] Apache2::SizeLimit on Linux

2005-08-07 Thread Torsten Foertsch
Hi, the attached patch allows Apache2::SizeLimit to use the new /proc/PID/smaps instead of /proc/PID/statm. This takes into account copy-on-write pages when counting shared memory. The patch looks if /proc/PID/smaps exists and if Linux::Smaps is installed. If not it uses the old /proc/PID/stat

Re: [mp2] CGI.pm porting/co-existence questions

2005-08-07 Thread Thomas Hilbig
--- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > > fetching/setting cookies > > fetching parameters (GET arguments or POST) > use APR::Request::* > Its faster as its in XS glue code. That does look like it will do it just as simply as CGI.pm. APR::Request (libapreq) wasn't part of th

Re: failing tests in mod_perl-2.0.1/ModPerl-Registry/t

2005-08-07 Thread Philip M. Gollucci
Jim Martinez wrote: While compiling mod perl 2.0.1 on a box that did not have HTML::HeadParser installed, several tests failed. What modules did you have installed ? Stas Bekman, at a Portland Perl Monks meeting, suggested that, since HTML::HeadParser is not installed, special_blocks.t should

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-07 Thread Philip M. Gollucci
Torsten Foertsch wrote: > --- mod_perl-2.0.1/lib/Apache2/SizeLimit.pm~ 2005-04-26 20:58:44.0 +0200 +++ mod_perl-2.0.1/lib/Apache2/SizeLimit.pm 2005-08-07 17:56:00.691361040 +0200 @@ -56,7 +56,11 @@ } elsif (LINUX) { -$HOW_BIG_IS_IT = \&linux_size_check; +i

Re: failing tests in mod_perl-2.0.1/ModPerl-Registry/t

2005-08-07 Thread Stas Bekman
Philip M. Gollucci wrote: Jim Martinez wrote: While compiling mod perl 2.0.1 on a box that did not have HTML::HeadParser installed, several tests failed. What modules did you have installed ? Stas Bekman, at a Portland Perl Monks meeting, suggested that, since HTML::HeadParser is not insta

Re: [mp2] CGI.pm porting/co-existence questions

2005-08-07 Thread Philip M. Gollucci
Thomas Hilbig wrote: Also, the mp2 User's Guide (section 10.9.1) says CGI.pm now takes $r as an argument to its new() function. What benefit is this? Is it required? For the most part its optional. You may need to look at PerlGlobalRequest http://perl.apache.org/docs/2.0/user/config/confi

Re: [PATCH] Apache2::SizeLimit on Linux

2005-08-07 Thread Stas Bekman
Torsten Foertsch wrote: Hi, the attached patch allows Apache2::SizeLimit to use the new /proc/PID/smaps instead of /proc/PID/statm. This takes into account copy-on-write pages when counting shared memory. Torsten++! Could you please submit a doc patch for Apache2/SizeLimit.pod http://svn.ap

Re: [mp2] CGI.pm porting/co-existence questions

2005-08-07 Thread Stas Bekman
print vs. $r->print This is drastically faster.. especially if you use one print per request at the end and/or pass a reference to the scalar string. Actually this is no longer true. in mp2 you can't pass a reference to a scalar. Still $r->print is faster :) Also, the mp2 User's

Re: mod_perl2 and PHP

2005-08-07 Thread Foo Ji-Haw
I agree with Eric. I love SOAP for the same reasons. You can argue until the cow comes home and there will still be PHP lovers and Perl lovers (and some .NETters as well). Diversity is important. But creating a happy unity is key. Eric wrote: At 10:07 AM 8/6/2005, Tony Clayton wrote: Quoti

Re: [mp2] CGI.pm porting/co-existence questions

2005-08-07 Thread Philip M. Gollucci
Stas Bekman wrote: print vs. $r->print This is drastically faster.. especially if you use one print per request at the end and/or pass a reference to the scalar string. Actually this is no longer true. in mp2 you can't pass a reference to a scalar. Still $r->print is faster :) I t

Re: :Apache2 IO flush: (103) Software caused connection abort

2005-08-07 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I have been getting some strange error on my system lately, so I took the time to completely upgrade my server last night to see of I could fix the problem with new updates. First thing this morning the errors re-surfaced. The error I'm getting is :Apache2 IO flush

Re: [mp2] CGI.pm porting/co-existence questions

2005-08-07 Thread Stas Bekman
Philip M. Gollucci wrote: Stas Bekman wrote: print vs. $r->print This is drastically faster.. especially if you use one print per request at the end and/or pass a reference to the scalar string. Actually this is no longer true. in mp2 you can't pass a reference to a scalar. Still

Re: failing tests in mod_perl-2.0.1/ModPerl-Registry/t

2005-08-07 Thread Philip M. Gollucci
Stas Bekman wrote: Philip M. Gollucci wrote: Jim Martinez wrote: I think I've already committed that skip rule but the rename branch merge has wiped it away. Philip, if you work on that, just wipe off HTML::HeadParser from your installed libs and run 'make test' and you will see which tests