Re: Could not be able to compile perl 5.6.0 or 5.6.1 or 5.6.2 on AIX 5.2 with GCC

2004-05-27 Thread Tom Schindl
Hi, this has nothing to do with mod_perl you should give it a try at perl5porters. See http://lists.perl.org/. Tom Bheema Rao Merugu, BSC, Ambattur, Chennai wrote: Hi, Please suggest me on how to compile these versions of perl, moreover I am able to compile 5.8.3 of perl on AIX5.2. the

RE: Could not be able to compile perl 5.6.0 or 5.6.1 or 5.6.2 on AIX 5.2 with GCC

2004-05-27 Thread Bheema Rao Merugu, BSC, Ambattur, Chennai
Hi Tom, Thanks for your help in this issue. Ultimately what I need was Apache with mod_perl only for that I am trying to compile the perl source first. I want mod_perl as dso so that I can make them(Apachemod_perl) as a binary and can distribute to my users. my doubt is, is it required to

mod_perl 2.0 globals question

2004-05-27 Thread Nathanial P. Hendler
I'm not sure if this is a style or function question. I'd like to have a module called Debug.pm that has a variable in it that if set to '1' by anything (main script, or other modules) will print debug messages. Reading the Orielly Practical mod_perl I thought it was clear what I needed to do,

Re: [mp2] migrating Apache::Cookie from mp1

2004-05-27 Thread Boris Zentner
Hi, Am Donnerstag 27 Mai 2004 11:39 schrieb Casey Songer: I've been running site using mod_perl and HTML::Mason for 3-4 years with few problems. I recently am being asked to move everything to a new box that has Apache2 running on it (with mp2). I was able to install and get everything

Re: mod_perl 2.0 globals question

2004-05-27 Thread Tom Schindl
Nathanial P. Hendler wrote: I'm not sure if this is a style or function question. I'd like to have a module called Debug.pm that has a variable in it that if set to '1' by anything (main script, or other modules) will print debug messages. Reading the Orielly Practical mod_perl I thought it was

Re: mod_perl not able to run some pl files.

2004-05-27 Thread Brian Reichert
On Thu, May 27, 2004 at 07:45:49PM +0530, Bheema Rao Merugu, BSC, Ambattur, Chennai wrote: Hi, I am getting the below error message in the error_log file. but I had the CGI.pm in the path /usr/local/apache/lib/perl5/5.8.3 When you say you 'had' CGI.pm in that path, do you mean that you

Re: mod_perl 2.0 globals question

2004-05-27 Thread Nathanial P. Hendler
On Thu, 27 May 2004, Tom Schindl wrote: Nathanial P. Hendler wrote: I'm not sure if this is a style or function question. I'd like to have a module called Debug.pm that has a variable in it that if set to '1' by anything (main script, or other modules) will print debug messages.

Re: mod_perl 2.0 globals question

2004-05-27 Thread Perrin Harkins
On Thu, 2004-05-27 at 13:08, Nathanial P. Hendler wrote: I guess I just don't quite know how to do that. Is there a way to have a module run anycode any time another perl module/script uses it? use Debug; would executed insided Debug.pm IM_BEING_USED { $D = 0; } There is.

[mp2] $dbh and config values methods

2004-05-27 Thread Nathanial P. Hendler
Ok, so I'm convinced that I should be using Log::Log4Perl. I'm using ModPerl::Registry and was wondering if people could share their approaches to configuration variables and database handlers under mp2. I'd like to have a config module, that holds things like: $document_root=

Re: [mp2] $dbh and config values methods

2004-05-27 Thread Perrin Harkins
On Thu, 2004-05-27 at 14:13, Nathanial P. Hendler wrote: I'd like to have a config module, that holds things like: $document_root= '/var/www/html'; $images_base_path = $document_root . '/images'; $images_base_url = '/images'; %phrases = ( red='This is red', blue='this is

Apache/mod_perl/mysql - threads at startup

2004-05-27 Thread Mike Blazer
Hello, guys! I use this configuration for quite a while and under a hard traffic: Apache 1.3.29 mod_perl 1.29 mysql 4.0.3 (a rather old one) for sometime I have this minor problem - each time I restart servers there are few failures right after the restart. It's always Lost connection error. As

Re: Apache/mod_perl/mysql - threads at startup

2004-05-27 Thread Perrin Harkins
On Thu, 2004-05-27 at 15:20, Mike Blazer wrote: See, in the very beginning - 3 child processes started and connected to the same mysql thread_id None of my processes ever disconnects, they all use Apache:DBI and everything is checked to be correct. Seems like it's mysql error in dispatching

passing data between connection and http filters

2004-05-27 Thread Eric J. Hansen
I have an application that uses mod_proxy (as a reverse proxy) to fetch content from a back-end server. My application needs to do some manipulation of both the request headers and the response body. Given that mod_proxy circumvents most of mod_perl's handler phases, I'm having to use filters to

[ANNOUNCE] HTML::GenerateUtil 1.02

2004-05-27 Thread Robert Mueller
I thought some people on this list might find this useful. http://search.cpan.org/~robm/HTML-GenerateUtil-1.02/ I think the Context section probably gives the best overview. --- When creating a web application in perl, you've got a couple of main choices on how to actually generate the

Re: Apache/mod_perl/mysql - threads at startup

2004-05-27 Thread Mike Blazer
Thanks, Perrin, I'm sure you're right just don't see where this happens. It's hard to extract the part of the code because my configs look wild :) One sh script starts/stops/restarts 3 servers with 1 config for proxy and 1 config full of Perl sections - for two back-end servers. Yes, I do call

An advice

2004-05-27 Thread
Somebody told me that if i use the data type bytea for my images in postgresql it could be very heavy in the web, does mod_perl have a good solution for that? Thanks -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette:

RE: mod_perl not able to run some pl files.

2004-05-27 Thread Bheema Rao Merugu, BSC, Ambattur, Chennai
Hi, thank you for your resposne Brian, Yes, I used the perl installed in that path. I have installed the perl with make install and using the same perl. I have not copied CGI.pm just like that in to the path. Its came with the installation only. Thnaks, Bheema -Original Message- From:

[mp2 milestones] installment 1

2004-05-27 Thread Stas Bekman
Hi, As we have mentioned several times on this list mod_perl 2.0 will be released when a selected API will be reviewed, tested and documented and the release todo file http://cvs.apache.org/viewcvs.cgi/modperl-2.0/todo/release gets emptied. This is the first installment of getting to the final

cvs commit: modperl-2.0/t/response/TestAPR util.pm

2004-05-27 Thread stas
stas2004/05/27 14:07:33 Modified:t/response/TestAPR util.pm Log: sha1 support added in 2.0.50 Revision ChangesPath 1.10 +6 -1 modperl-2.0/t/response/TestAPR/util.pm Index: util.pm ===

cvs commit: modperl-2.0/t/response/TestError syntax.pm

2004-05-27 Thread stas
stas2004/05/27 18:33:54 Modified:t/response/TestError syntax.pm Log: fix the hint to say that there are two error entries reported Revision ChangesPath 1.3 +1 -1 modperl-2.0/t/response/TestError/syntax.pm Index: syntax.pm

cvs commit: modperl-2.0/lib/ModPerl MapUtil.pm StructureMap.pm WrapXS.pm

2004-05-27 Thread stas
stas2004/05/27 18:35:15 Modified:lib/ModPerl MapUtil.pm StructureMap.pm WrapXS.pm Log: Extended WrapXS code to support a new type of accessor: char * which accepts undef to set the C pointer to NULL and as such unset the member of the struct. Revision ChangesPath