Re: PerlRun Subroutine redefine warnings

2009-08-27 Thread Adam Prime
Kiran Kumar wrote: Hi Mike, Thanks for your reply, If you check my script there is no other subroutine with the same name and I do not import any modules , I renamed the subroutine to foo and I still get the same warnings. There's an old thread from someone else reporting this, though it

Re: PerlRun Subroutine redefine warnings

2009-08-27 Thread Kiran Kumar
Hi Mike, Thanks for your reply, If you check my script there is no other subroutine with the same name and I do not import any modules , I renamed the subroutine to foo and I still get the same warnings. Thanks, Kiran On Wed, Aug 26, 2009 at 8:20 PM, Mike OK wrote: > This error occurs when

Re: PerlRun Subroutine redefine warnings

2009-08-26 Thread Mike OK
This error occurs when you have two subroutines with the same name. Mike O'Krongli President and CTO Acorg Inc 519 432-1185 - Original Message - From: "Kiran Kumar" To: Sent: Wednesday, August 26, 2009 8:07 PM Subject: PerlRun Subroutine redefine warnings Hi, I am running mod_p

Re: perlrun

2005-09-11 Thread Josef Ender
Hello Here is a good comparison: http://modperlbook.org/html/ch01_03.html See section 1.3.1 regards, Josef -- Josef Ender, Bitspot AG http://www.bitspot.ch abhishek jain wrote: > Hi Friends, > Actually i have a site written in PERL . I want that site to be > working fast . Now i think modperl

Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

2005-01-04 Thread Philippe M. Chiasson
Jean-François Nadeau wrote: Thanks for the quick reply. I cleaned up my installation and reinstalled. See attached bug report and BuildConfig.pm. Configured with: perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache-2.0.52/ make && make install The leak persist after reinstall. Co

Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

2004-12-21 Thread Stas Bekman
Configured with: perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache-2.0.52/ make && make install OK. Why do you use MP_AP_PREFIX and not MP_APXS? The docs suggest to use the latter: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Installation http://perl.apache.org/docs

RE: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

2004-12-21 Thread Jean-François Nadeau
a sample script at the moment... Regards, Jean -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: 21 décembre 2004 11:26 To: Jean-François Nadeau Cc: [EMAIL PROTECTED] Subject: Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1 Jean-François Nadeau wrote: > Hi a

Re: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

2004-12-21 Thread Stas Bekman
Jean-François Nadeau wrote: Hi all, I was using mod_perl-1.99_14 under Apache 2.0.49, I upgraded to mod_perl-2.0.0-RC1 under Apache 2.0.52. Im using RedHat 8.0 / perl 5.8.0 / CGI.pm 3.05 Apache configuration : SetHandler perl-script PerlResponseHandler ModPerl::PerlRun PerlOptions +Par

RE: PerlRun Memory leak upgrading from 1.99_14 to 2.0.0-RC1

2004-12-21 Thread Jean-François Nadeau
The problem might be in RegistryCooker.pm   I upgraded each script from 1.99_14 to current one by one to find the leak starts when using the current RegistryCooker.pm Let me know if this help...   thanks From: Jean-François Nadeau [mailto:[EMAIL PROTECTED] Sent: 21 décembre 2004 08:15T

Re: PerlRun and Apacje::DB - quick question

2004-04-05 Thread Mike P. Mikhailov
Hello Tom Gazzini, Tuesday, April 6, 2004, 7:05:45 AM, you wrote: TG> I #8217;ve managed to modify a CGI shopping cart application TG> so that it successfully works under Apache::PerlRun. TG> Now I want to further improve the performance by using TG> Apache::DB. The CGI script already uses DBI to

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Yes, my apache.conf reads: PerlSendHeader On. > -Original Message- > From: Drew Taylor [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:56 PM > To: Bram Whillock > Cc: 'Modperl List' > Subject: Re: PerlRun, nothing but page header > > Have you

RE: PerlRun, nothing but page header

2004-04-05 Thread Perrin Harkins
On Mon, 2004-04-05 at 17:45, Bram Whillock wrote: > I tried changing the PerlHandler to Apache::Registry and modified the > script so that it does: > my $r = shift; > $r->send_http_header("text/plain"); > $r->print("foo"); > return OK; > > Which works fine. But this isn't a good option considerin

Re: PerlRun, nothing but page header

2004-04-05 Thread Drew Taylor
tas Bekman [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 5:38 PM To: Bram Whillock Cc: 'Perrin Harkins'; 'Modperl List' Subject: Re: PerlRun, nothing but page header Bram Whillock wrote: Apache error log says: mod_perl/1.25 That means nothing, besides having mod_perl present

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
t I want to run under PerlRun. Also, I removed the shebang line to confirm that it's not using the shebang line to resolve the perl interpreter. > -Original Message- > From: Stas Bekman [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:38 PM > To: Bram Whillock

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: Apache error log says: mod_perl/1.25 That means nothing, besides having mod_perl present. You need to configure the server to run your script under mod_perl. Assuming that your script is under:/var/www/beta/modperl.cgi, your configuration: PerlWarn On PerlTaintCheck On PerlM

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Apache error log says: mod_perl/1.25 > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:29 PM > To: Bram Whillock > Cc: Modperl List > Subject: RE: PerlRun, nothing but page header > > On Mon, 2004-04-05 at 17

RE: PerlRun, nothing but page header

2004-04-05 Thread Perrin Harkins
On Mon, 2004-04-05 at 17:21, Bram Whillock wrote: > Getting rid of the fatalsToBrowser does nothing. > > The second script gives me an error: > [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method > "send_http_header" on an undefined value at /var/www/beta/modperl.cgi > line 3. Sounds l

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: Getting rid of the fatalsToBrowser does nothing. The second script gives me an error: [Mon Apr 5 14:17:15 2004] [error] PerlRun: `Can't call method "send_http_header" on an undefined value at /var/www/beta/modperl.cgi line 3. Meaning that you aren't running that script under

RE: PerlRun, nothing but page header

2004-04-05 Thread Bram Whillock
Bekman [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 5:15 PM > To: Bram Whillock > Cc: [EMAIL PROTECTED] > Subject: Re: PerlRun, nothing but page header > > Bram Whillock wrote: > > I recently built and got up and running apache 1.3.19 with mod_perl and > > mo

Re: PerlRun, nothing but page header

2004-04-05 Thread Stas Bekman
Bram Whillock wrote: I recently built and got up and running apache 1.3.19 with mod_perl and mod_ssl. I'm not receiving any error messages, but I cannot get any output from a test page. Any difference if you remove this line? use CGI::Carp qw(fatalsToBrowser); If not, any luck with this script