Re: Apache::Request question

2007-05-04 Thread Clinton Gormley
> Ok. that answers a ton. > > Word-for-word, that should be in the PerlGlue docs. > libapreq is great, but the docs are seriously lacking. I implemented my own wrapper for it, but it required a lot of delving into the Apache2/APR::Request code to figure out how to make it work. Non-trivial to

Re: Apache::Request question

2007-05-03 Thread Jonathan Vanasco
On May 3, 2007, at 9:44 PM, Joe Schaefer wrote: The "Unknown Error" string is operating system dependent. On my linux box it would be reported as "Success", since the error code in any case is 0. "Missing input data" comes from the apreq ala APR::Request::Error::NODATA, and counts as a trivial

Re: Apache::Request question

2007-05-03 Thread Joe Schaefer
Jonathan Vanasco <[EMAIL PROTECTED]> writes: > On May 3, 2007, at 9:19 PM, Joe Schaefer wrote: > >> Here's what I was alluding to on apreq-dev when you asked about it: > > that code makes sense... > > it makes me wonder more though: > > a) > what's the deal with > Missing input

Re: Apache::Request question

2007-05-03 Thread Jonathan Vanasco
On May 3, 2007, at 9:19 PM, Joe Schaefer wrote: Here's what I was alluding to on apreq-dev when you asked about it: that code makes sense... it makes me wonder more though: a) what's the deal with Missing input data Unknown Error : 0 are thos

Re: Apache::Request question

2007-05-03 Thread Joe Schaefer
Jonathan Vanasco <[EMAIL PROTECTED]> writes: > i'm standardizing my some functions to release into cpan and am at a bit of a > loss on catching apreq errors. Here's what I was alluding to on apreq-dev when you asked about it: my $body = eval { $req->body }; if ($@) { if ($@ == APR::R

Re: Apache::Request question

2007-05-03 Thread Jonathan Mangin
Sorry, I don't know the answer. My little testing on Solaris gives me similar results, and I'd like to back up your request. - Original Message - From: "Jonathan Vanasco" <[EMAIL PROTECTED]> To: "modperl mod_perl" Sent: Thursday, May 03, 2007 3:09

Apache::Request question

2007-05-03 Thread Jonathan Vanasco
I'm posting to mp , as this is perl-glue related. as a note, I'm using OS X as a dev box , and apreq doesn't compile right on it - so that might be the problem - i'm standardizing my some functions to release into cpan and am at a bit of a loss on catching apreq errors. I have this c