Find source for Apache2::Request::args_status

2007-01-23 Thread Jonathan Mangin
Hi, I'm a mod_perl newbie going slightly nuts. MethodLookup doesn't know anything about args_status(). I see the references to XSLoader so I'm _guessing_ that it's hiding in C code somewhere. Maybe I'm wrong. How/where can I find the source for args_status? Thanks, Jon

[JOB] Web Developers for publishing company - Charlotte, NC

2007-01-23 Thread Kevin Old
See our posting at: http://jobs.perl.org/job/5243

Re: Find source for Apache2::Request::args_status

2007-01-23 Thread Geoffrey Young
Jonathan Mangin wrote: > Hi, > I'm a mod_perl newbie going slightly nuts. > > MethodLookup doesn't know anything about args_status(). > > I see the references to XSLoader so I'm _guessing_ that it's > hiding in C code somewhere. Maybe I'm wrong. > > How/where can I find the source for args_stat

Re: Find source for Apache2::Request::args_status

2007-01-23 Thread Jonathan Vanasco
On Jan 23, 2007, at 11:40 AM, Geoffrey Young wrote: I've never heard of args_status in mod_perl, but google finds it in libapreq, which is a separate entity. anyway, the source you seek is here http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/xsbuilder/ APR/Request/Request.xs Just

DateTime with Apache::SmallProf

2007-01-23 Thread Raf
Apologies for the X-post. It seemed appropriate. I'm trying to profile a web environment (Apache 1.3.33/Perl 5.8.7/mp 1.29) with Apache::SmallProf, however I seem to be getting some odd behaviour from DateTime when smallprof is enabled. We have a module using DateTime.pm, which is used in a CGI

Making warnings trigger errors.

2007-01-23 Thread Tyler Bird
Does anybody know if there is a module or some kind of directive in either perl or mod_perl to make warnings produce the same affects as errors. Thanks Tyler

Re: Making warnings trigger errors.

2007-01-23 Thread Michael Peters
Tyler Bird wrote: > Does anybody know if there is a module > > or some kind of directive in either perl or mod_perl > to make warnings produce the same affects as errors. Just change the signal handler. $SIG{__WARN__} = $SIG{__DIE__}; Not sure why you'd want that though. But sometimes I need

Re: Making warnings trigger errors.

2007-01-23 Thread Clinton Gormley
> Just change the signal handler. > > $SIG{__WARN__} = $SIG{__DIE__}; Or to do it lexically: use warnings FATAL => 'all';

mod_perl handler final stage- doubts /optimizations

2007-01-23 Thread Tracy12
Hi, I successfully finished the mod_perl authentication hander (CAS). Everything working fine, it got features like caching/session handling as well. My httpd.conf looks as follows (See the bottom of the mail). As we have simulated the final url by myTest.pl which will print REMOTE_USER env varia

Re: Making warnings trigger errors.

2007-01-23 Thread Phil Whelan
Or to do it lexically: use warnings FATAL => 'all'; I used this before to find out where a warning was coming from that I just could track down. Easy to find if it dies.

Re: Troubleshooting Apache2 Segfaults

2007-01-23 Thread Joel Gwynn
On 1/22/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: On 1/21/07, Joel Gwynn <[EMAIL PROTECTED]> wrote: > I've got a mod_perl application which segfaults on every 10th or so > requests. Here's what I get in my error log: > > [notice] child pid exit signal Segmentation fault (11) > > How wou

Retrieve Query String

2007-01-23 Thread Tracy12
In my mod_perl authentication module I have the following to get the url without the ticket parameter my $uri_parsed = $r->parsed_uri; my $unparsed = $uri_parsed->unparse(); but if the user hits the url as follows http://localhost/test it actually goes to htt

Re: DateTime with Apache::SmallProf

2007-01-23 Thread Philip M. Gollucci
Raf wrote: > Apologies for the X-post. It seemed appropriate. > > I'm trying to profile a web environment (Apache 1.3.33/Perl 5.8.7/mp 1.29) > with Apache::SmallProf, however I seem to be getting some odd behaviour > from DateTime when smallprof is enabled. > > We have a module using DateTime.pm