Re: get UserAgent

2008-01-21 Thread Jeff Pang
yup,thanks for the reminding. I checked the doc, for mp1 it's $r-header_in(); for mp2 it's $r-headers_in(). -Original Message- From: Foo JH [EMAIL PROTECTED] Sent: Jan 21, 2008 3:52 PM To: Jeff Pang [EMAIL PROTECTED] Cc: modperl-list modperl@perl.apache.org Subject: Re: get UserAgent

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
Hi, I'm trying to use Apache::DProf with my Perl web app. I can't work out what I'm doing wrong - it should be working but it isn't (how many times have we all said that to ourselves eh?). I've run out of options to try now, I hope someone can help me please. I'm running Apache 2.2.3, the conf

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread John ORourke
Alx G wrote: I'm running Apache 2.2.3, the conf has the following in it: -- ... LoadModule perl_module modules/mod_perl.so # Perl profiler # #Perl #require Apache::DB; #Apache::DB-init; #/Perl PerlModule Apache::DProf ... -- I tried with and without the commented stuff - as was

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
John ORourke wrote: Alx G wrote: I'm running Apache 2.2.3, the conf has the following in it: -- ... LoadModule perl_module modules/mod_perl.so # Perl profiler # #Perl #require Apache::DB; #Apache::DB-init; #/Perl PerlModule Apache::DProf ... -- I tried with and

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread John ORourke
Alx G wrote: Thanks for the tips John, however as I mentioned in my previous post, I did in fact try it with the DB-init call and it made no difference. Also, the tmon.out files *are* being created by the apache process so that's not an issue either. I misunderstood, sorry. If you're

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Geoffrey Young
Alx G wrote: Hi, I'm trying to use Apache::DProf with my Perl web app. I can't work out what I'm doing wrong - it should be working but it isn't (how many times have we all said that to ourselves eh?). I've run out of options to try now, I hope someone can help me please. try

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
John ORourke wrote: Alx G wrote: Thanks for the tips John, however as I mentioned in my previous post, I did in fact try it with the DB-init call and it made no difference. Also, the tmon.out files *are* being created by the apache process so that's not an issue either. I

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
Geoffrey Young wrote: Alx G wrote: Hi, I'm trying to use Apache::DProf with my Perl web app. I can't work out what I'm doing wrong - it should be working but it isn't (how many times have we all said that to ourselves eh?). I've run out of options to try now, I hope someone can

[JOB] seeking new challenges

2008-01-21 Thread Torsten Foertsch
Hi, I know the modperl mailing list has been used from time to time for job offers or applications. I'd like to do the latter. I am a freelance programmer living in Germany near Heidelberg. My native language is German. I also possess English and Russian. My knowledge of Apache, mod_perl and

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Alx G
Heiko Jansen wrote: Am Montag, den 21.01.2008, 06:19 -0800 schrieb Alx G: ... The code I'm running is just a collection of cgi scripts that hook into the back-end libraries of the system, so the code is definitely loaded and run after the the DB-init and Dprof module. But

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-21 Thread B Wooster
On Jan 17, 2008 4:14 PM, Bart Schaefer [EMAIL PROTECTED] wrote: There's a thread from December that would seem to be related. From that thread: -- Forwarded message -- From: Michael Schout [EMAIL PROTECTED] Date: Dec 28, 2007 9:12 PM Subject: Re: mod_perl, ENV{'TZ'}, and

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Perrin Harkins
On Jan 21, 2008 7:26 AM, Alx G [EMAIL PROTECTED] wrote: Thanks for the tips John, however as I mentioned in my previous post, I did in fact try it with the DB-init call and it made no difference. It will make a big difference, but it sounds like you have another problem preventing you from

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Heiko Jansen
Alx G [EMAIL PROTECTED] 21.01.08 17.25 Uhr If I output the value of $ENV{'mod_perl'} it shows mod_perl/2.0.2 (or something like that), so I believe that shows it's not running as plain cgi. Yep, looks good. I've no experience with Apache::DB - so apart from one last excerpt from the docs

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Philippe M. Chiasson
James Breat wrote: I am having problems a static mod_perl with Apache 2.2.6 and Perl 5.10.0. I followed the instructions for a static build, but when I type make I get the following errors (only a few same error lines are included): httpd-2.2.6/srclib/apr/include/apr.h:273: error: expected

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Philippe M. Chiasson
Heiko Jansen wrote: Am Freitag, den 18.01.2008, 15:47 +1030 schrieb James Breat: I am having problems a static mod_perl with Apache 2.2.6 and Perl 5.10.0. Essentially, the answer you need is: Don't use mod_perl2 and Perl 5.10.0 together yet. Not yet, nope. As far as I know, the mod_perl

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Heiko Jansen
Am Montag, den 21.01.2008, 23:12 -0800 schrieb Philippe M. Chiasson: Yes, but mod_perl 2.0.3 and Perl 5.10 should at least _build_, just possibly exhibit unnatural behaviour at runtime... No - at least not for me (Solaris 10, 64Bit, Sun cc): 2.0.3 won't build at all unless I copy