I was under the impression that "overloading", as you put it, was purely a function of the CGI module, that the html would just send a bunch of foo=bar;foo=baz;foo=qux in the querystatement then the module would handle collapsing it?

You are correct - the actual HTTP submission by the browser will contain the repeated entries even for text inputs and the like. I wouldn't recommend relying on that, though, because it forces you to handle bottom-up form processing (including handling the URL encoding and crap like that). Even if you don't mind today, you'll be in a hole when you decide to just use CGI.pm or whatever tomorrow because it has that one added feature you'd like.

I speak as someone who once tried to save some time doing this and found it wasn't worth it in the end 8)


In reply to Re^3: Logical question-to upate DB records by gowen
in thread Logical question-to upate DB records by thisisperl

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.