Fred Moyer wrote:
Stas Bekman wrote:
Geoffrey Young wrote:
Stas Bekman wrote:
I was trying to get GET, POST and other Apache::TestRequest methods to
accept a pre-existing HTTP::Request object, rather than pass arguments
that will construct one.

The reason, I was trying to use HTML::TreeBuilder and
HTTP::Request::Form to fill-out a form and submit that, rather than raw
POST, e.g.:
have you tried mech for this? I haven't but have always wanted to

What difference does it make?
There's some great syntactic sugar that make submitting forms relatively
painless. I've used it in my A::T programs by grabbing the port number
from the config hash and used a WWW::Mechanize->new object to do the calls.
Though it bypasses the A-T infrastructure, so if you are trying to rely
on any of the features A-T provides, you can't. Which is probably OK for
most people anyway.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 5 | next ›
Discussion Overview
grouptest-dev @
categoriesmodperl, perl
postedOct 16, '07 at 7:09p
activeOct 18, '07 at 6:18p



site design / logo © 2018 Grokbase