Re: Apache2::Request appears to not capture the full POST:ed value

2011-10-10 Thread McCarrell, Jeff
Andre is correct. Semi-colon is a valid query string separator, in addition to ampersand &. HTTP 1.x being so widely deployed, it is very hard to change the spec. So supporting semi-colon is a W3C recommendation. C.f. http://en.wikipedia.org/wiki/Query_string -- jeff On 10/10/11 2:11 PM, "André

Re: ModPerl::RegistryLoader

2011-07-25 Thread McCarrell, Jeff
I am not sure if this directly applies to your issue, but I got segfaults in DBI when I just opened the DB handle once in the parent, reusing the DBH in child processes (a bug). The issue went away when I ensured that every child process did its own DBI->connect. HTH On 7/22/11 11:17 AM, "Jiří P

Re: Best approach to store Application Configuration

2011-07-11 Thread McCarrell, Jeff
Naming the path to the config file in an httpd conf will certainly work. In my case, the path the config file is hard coded in the method that reads the config as it is not something that changes. Here is on of my httpd conf file (a separate file loaded in the http configuration directory so you

Re: Best approach to store Application Configuration

2011-07-11 Thread McCarrell, Jeff
Hi Jerry. I went through a couple of different approaches before settling on using YAML files to describe configuration. There are several nice properties of YAML IMO, not least of which is arbitrary nesting so the config can closely match the software being configured. Here is a sanitized examp

Re: How do you use mod_perl for your web application?

2011-06-27 Thread McCarrell, Jeff
On 6/27/11 11:44 AM, "McCarrell, Jeff" wrote: >While this may not be the last word on this subject of DBIx::Class Db conn >caching, >a cursory glance at the documentation shows: >(http://search.cpan.org/~frew/DBIx-Class-0.08192/lib/DBIx/Class/Manual/Int >r >o.pod#Con

Re: How do you use mod_perl for your web application?

2011-06-27 Thread McCarrell, Jeff
On 6/27/11 8:37 AM, "Fred Moyer" wrote: >>DBIx::Class just does its own persistent connection and this is why it >>doesn't need Apache::DBI. > >Do you have any evidence for this claim? I've been using DBIx::Class >with Apache::DBI for several years and have never seen anything to >this effect. >

Re: Debugging a long process

2011-06-15 Thread McCarrell, Jeff
Hey Tosh >From my experience, I would guess you may seeing interactions between the major components of your system as load grows. If my hunch is true, then following a single request may not show the issue. You may need a way to load your system to the point where it shows the issue. If all these

Re: ModPerl handler

2011-05-18 Thread McCarrell, Jeff
http://perl.apache.org/docs/2.0/user/intro/start_fast.html There are a wealth of good (maybe even great) docs here that explain the request life cycle, configuration … pretty much everything you need to know. Happy reading! From: marco mailto:marcodis...@gmail.com>> Date: Wed, 18 May 2011 14:43: