mod_perl and Apache::Test

2012-10-09 Thread Jean-Michel
Hello, I have some mod_perl modules that implement REST services. I want to test them with Apache::Test. So, I have some questions : - Is it possible to use DELETE method with Apache::Test ? I didn't find any examples - I want to send JSON data with POST method (not with x-www-form-urlencode

Re: mod_perl and Apache::Test

2012-10-09 Thread Torsten Förtsch
On 10/09/2012 10:44 AM, Jean-Michel wrote: > I have some mod_perl modules that implement REST services. I want to > test them with Apache::Test. So, I have some questions : > > - Is it possible to use DELETE method with Apache::Test ? I didn't > find any examples $ perl -MApache::TestRequest -le

DateTime::Format::Pg error - only under mod_perl

2012-10-09 Thread Jiří Pavlovský
Hello, I have a problem which I think is mod_perl specific - please correct me if I'm wrong. In a code I do: use DateTime; use DateTime::Format::Pg; and get this error: DateTime does not define $DateTime::VERSION--version check failed at /opt/perl/lib/site_perl/5.16.1/DateTime/Format/Pg.pm l

Re: reloading perl modules under heavy load

2012-10-09 Thread Jason Aubrey
On Thu, Oct 4, 2012 at 9:53 AM, demerphq wrote: > On 4 October 2012 16:36, Jason Aubrey wrote: > > Thanks all for your replies to my question. > > > > Because of the nature of our application, we can't really load > everything at > > start up, but I did some digging and there are clearly some >

Re: DateTime::Format::Pg error - only under mod_perl

2012-10-09 Thread Randolf Richardson
> Hello, > > I have a problem which I think is mod_perl specific - please correct me > if I'm wrong. > > In a code I do: > use DateTime; > use DateTime::Format::Pg; I had trouble getting DateTime::Format::Pg working a long time ago, so I gave up and just made sure that PostgreSQL was defau

Re: DateTime::Format::Pg error - only under mod_perl

2012-10-09 Thread Randolf Richardson
> > Hello, > > > > I have a problem which I think is mod_perl specific - please correct me > > if I'm wrong. > > > > In a code I do: > > use DateTime; > > use DateTime::Format::Pg; > > I had trouble getting DateTime::Format::Pg working a long time ago, > so I gave up and just made sure that P