when talking about general advantages of OO vs import-the-world
Uh, I wasn't making this a general conversation. I was talking specifically about CGI.pm and the typical use (a singleton object, and with people who probably don't want to grok Perl's OO).

Please don't light up a different fire. This one fans well enough. {grin}

Secondly, the CGI documentation still states:
The examples in this document mainly use the object-oriented style.
That's a vestigial text. Look at the examples in the rest of the doc. They've been almost entirely converted to import style. This happened quite recently.
It's not entirely clear that Lincoln has a preference.
It's very clear to me. I've seen Lincoln talk at conferences. In fact, I even filled in for him once. His slides never use the OO form. That's why I wasn't surprised when he finally changed the manpage.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.


In reply to Re^4: form processing problem by merlyn
in thread form processing problem by ces

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.