I'm confused as to why you're talking about HTTP::Request::Form again, since we established there was a bug in it.

I ran a few tests:

use URI; my $uri = URI->new("http://www.domain.com/"); $uri->query_form( editions => [qw( D A H )], ); print($uri->as_string(), "\n"); # http://www.domain.com/?editions=D&editions=A&editions=H

so far so good

use LWP; use HTTP::Request::Common; $request = POST 'http://www.domain.com/', [ editions => [qw( D A H )], ]; print($request->as_string(), "\n"); # POST http://www.domain.com/ # Content-Length: 54 # Content-Type: application/x-www-form-urlencoded # # editions=D&editions=A&editions=H

Working great!

>perl -MURI -le "print $URI::VERSION" 1.19 >perl -MLWP -le "print $LWP::VERSION" 5.64

I'm not sure what you're trying to do. WWW::Mechanize might be of interest to you.


In reply to Re^3: Checkboxes with the same name by ikegami
in thread Checkboxes with the same name by seaver

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.