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 will be

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 calling

[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

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 the httpd

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; +if

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

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

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

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