Hi geeks, I am playing with <Perl> section in my mod_perl 1.29. I am trying something like this: <Perl> package MyStartup; use lib '/usr/local/myapp/perl39;; #my...
66934
Jan Poslusny
pajout@...
Sep 10, 2005 3:42 pm
So, I am replying self: MyModule::myfunc(); #works, of course :)))...
66935
Perrin Harkins
perrin@...
Sep 10, 2005 7:10 pm
... 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. ... You...
66936
David Christensen
dpchrist@...
Sep 10, 2005 8:18 pm
... I have been trying to set up an apache2/ mod_perl2 development environment using Debian 3.1 (Sarge), without much success. These are the Debian packages...
66937
Jeff Ambrosino
jbambrosino@...
Sep 10, 2005 11:21 pm
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...
66938
Philip M. Gollucci
pgollucci@...
Sep 11, 2005 3:05 am
... What version of mp2 comes with Sarge packages ? 1.9922 or higher I hope. ... use Apache2::Const -compile qw(OK) or similiar see ...
66939
abhishek jain
ejaincom@...
Sep 11, 2005 3:58 am
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...
66940
Josef Ender
modperl@...
Sep 11, 2005 8:25 am
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...
66941
Jonathan Steffan
jon@...
Sep 11, 2005 9:56 am
Hello again all, I am thinking about using perl to package RPMs. I am going to do the interface via mod_perl for managing the tree. Anyone have experience with...
66942
Octavian Rasnita
orasnita@...
Sep 11, 2005 1:16 pm
Hi, Wouldn't be a good idea (for someone who also know PHP well) to create a program that can create perl scripts from PHP scripts? Also for the languages...
66943
Perrin Harkins
perrin@...
Sep 11, 2005 3:02 pm
... I hear you, but I think anyone who is building a serious web app is better off compiling the important parts (apache, perl, mod_perl) themselves. The...
66944
David Christensen
dpchrist@...
Sep 11, 2005 10:22 pm
... Thank you for your reply. :-) My goal is to be able to write Apache2/ mod_perl2/ MySQL applications and then sell and/or give them away with the...
66945
David Christensen
dpchrist@...
Sep 11, 2005 10:23 pm
... Thanks for your reply. :-) dpchrist@p166v:~$ apt-cache showpkg libapache2-mod-perl2 | head -n 3 Package: libapache2-mod-perl2 Versions: ...
66946
Badai Aqrandista
badaiaqrandista@...
Sep 11, 2005 10:30 pm
... Like this? http://search.cpan.org/~gschloss/PHP-Interpreter-1.0/lib/PHP/Interpreter.pm ... How about this?...
66947
Philippe M. Chiasson
gozer@...
Sep 12, 2005 2:22 am
... http://search.cpan.org/dist/Perl-RPM/ http://search.cpan.org/dist/RPM-Tools/ -- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID :...
66948
Tagore Smith
tagore@...
Sep 12, 2005 4:20 am
... How would one do that? I imagine that a general PHP to Perl translator would be worth a PhD. Feel free to provide such a translator. Otherwise, shut up....
66949
Philip M. Gollucci
pgollucci@...
Sep 12, 2005 4:24 am
... EW! I'd recompile and update... using the unsupported API is going to drive you and us crazy. ... if you stay on the old version of mp2, try ...
66950
David Christensen
dpchrist@...
Sep 12, 2005 4:58 am
... and us crazy. Thanks for your reply. :-) I suspected as much. Out-of-date packages are all too common, especially with Debian "stable". ... I...
66951
firingme
firingme@...
Sep 12, 2005 7:11 am
I want to know is there any package can give me a DB Connection Pool in a mod_perl application ? I've checked Apache::DBI, but it seems that it'll initialze a ...
66952
pradeep kumar
pradeep.smani@...
Sep 12, 2005 7:40 am
Hi Philppe, I did try using mod_perl 2.0.1 and got the same "-e" in the ps output instead of "/PATH_TO_HTTPD -d /PATH_OF_APACHE -k start". Thanks and Regards, ...
66953
Tom Schindl
tomAtLinux@...
Sep 12, 2005 8:31 am
... Hash: SHA1 What version of mp are you using if you are running mp2 i think the apache-filter-system is the problem. Tom ... Version: GnuPG v1.4.0...
66954
pradeep kumar
pradeep.smani@...
Sep 12, 2005 8:38 am
Hi Tom, I am using mp2. Thanks and Regards, Pradeep...
66955
Philip M. Gollucci
pgollucci@...
Sep 12, 2005 8:50 am
... I'll confirm this in mp2 svn. Here's the relevenant section in modperl_cmd.c: { SV *code = newSVpv(arg, 0); GV *gv = gv_fetchpv("0", TRUE, SVt_PV); ...
66956
Octavian Rasnita
orasnita@...
Sep 12, 2005 12:54 pm
From: "Tagore Smith" <tagore@...> ... See? This is one reason why PHP is much more used than Perl. I put a lot of questions because perl is not...
66957
Sean Davis
sdavis2@...
Sep 12, 2005 1:36 pm
I am trying to build libapreq2 on macos 10.3.9, apache2.0.54, mod_perl 2.0.1 (perl 5.8.1). I am doing the following and getting these results. libexpat is in...
66958
Philip M. Gollucci
pgollucci@...
Sep 12, 2005 1:47 pm
... % ./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs \ --enable-perl-glue --with-expat=/usr/local/apache --with-expat takes the install base for...
66959
Malcolm J Harwood
mjhlist-modperl@...
Sep 12, 2005 4:13 pm
... Do you mean thread or process? I'm not sure how Apache::DBI works with threads, but there's no way to pool DB connections between processes that I'm aware...
66960
Philip M. Gollucci
pgollucci@...
Sep 12, 2005 4:27 pm
... I think he's looking for DBI::Pool which subclasses DBI. This is incomplete. Last I heard Tim/Stas were working on it. I don't know what came of it. I...
66961
Jason Rhinelander
jagerman@...
Sep 12, 2005 5:06 pm
To ask in a slightly different way: should this behaviour be considered a bug? ... -- -- Jason Rhinelander...
66962
Philippe M. Chiasson
gozer@...
Sep 12, 2005 5:47 pm
... Still unable to reproduce this on my end. ... This bit creates the equivalent of a {} block for scoping issues ... As the comment points out, this is just...