Re: use libapreq2 to read POST params

2006-09-22 Thread Philip M. Gollucci
Dave Viner wrote: Hi, I'm trying to use libapreq2 to read some parameters submitted via POST, but I'm having trouble. Should I use $req->body($myparam) ? or $req->param($myparam)? ...[snip] cv=1234 [EMAIL PROTECTED] /home/pgollucci/dev/build 466 0>cat params | lwp-request -m POST -SUsue

use libapreq2 to read POST params

2006-09-22 Thread Dave Viner
Hi, I'm trying to use libapreq2 to read some parameters submitted via POST, but I'm having trouble. Should I use $req->body($myparam) ? or $req->param($myparam)? My code looks like this: $r->log->debug("Testing param"); my ($md5, $entered); eval { $md5 = $req->para