perlrun

2005-09-10 Thread abhishek jain
Hi Friends,Actually i have a site written in PERL . I want that site to be working fast . Now i think modperl will make that fast. I know that the coding done is not that good, there are many global variables etc.I wanted to know that can modperl increase the speed without any risk to the site, A f

Re: *nix distro compatibility (was Re: survey)

2005-09-10 Thread Philip M. Gollucci
David Christensen wrote: Carl Johnstone wrote: option of using the version in Sarge, and figuring our where I differ What version of mp2 comes with Sarge packages ? 1.9922 or higher I hope. When I try to port my Eagle book modules to mod_perl2, I trip over the very first step: [EMAIL PRO

Re: hanging CPU-sucking httpd procs that say "..reading.."

2005-09-10 Thread Jeff Ambrosino
Not one to leave myself hanging :), I thought I'd update the group before I switch venues... I've narrowed this problem to SSL requests only, and httpd is hanging during the request read. I use a PerlPostReadRequestHandler (which has been helpful in scoping the problem via a USR2 signal trap), bu

Re: *nix distro compatibility (was Re: survey)

2005-09-10 Thread David Christensen
Carl Johnstone wrote: > Sounds like a good idea, and if we point people in the right > direction to get updated versions/backports for their distro that > might help with the rest. > As a Debian user I'd like to move to mod_perl2 proper, however I > don't want to have to compile it for myself. So I

Re: a faster html::template?

2005-09-10 Thread Perrin Harkins
On Fri, 2005-09-09 at 14:07 -0700, Praveen Ray wrote: > use Time::HiRes qw(gettimeofday tv_interval); Better to use the Benchmark module for this. It looks like you only run each one once. A few hundred iterations would give more stable results. > sub render_tt2 > { > my ($data) = @_; >

Re: Module using in Perl Section

2005-09-10 Thread Jan Poslusny
So, I am replying self: MyModule::myfunc(); #works, of course :))) Jan Poslusny wrote: Hi geeks, I am playing with section in my mod_perl 1.29. I am trying something like this: package MyStartup; use lib '/usr/local/myapp/perl'; #my 'perl' directory contains Apache/MyApp.pm and XML/MyModule

Module using in Perl Section

2005-09-10 Thread Jan Poslusny
Hi geeks, I am playing with section in my mod_perl 1.29. I am trying something like this: package MyStartup; use lib '/usr/local/myapp/perl'; #my 'perl' directory contains Apache/MyApp.pm and XML/MyModule.pm use Apache::MyApp; use XML::MyModule; #everything seems OK, BEGIN blocks of my modules