On the first hand, when you have only a hammer, everything looks like a nail.

  ...And maybe those objecting believe the task you've addressed is a screw (or maybe you do have other tools, readily at hand).

OTOH, when searching for wildlife in Kansas, you're not likely to succeed if you're focused solely on giraffes.

  ...But if you're hunting for giraffes, the objection to your focus misses the point that your "location" is probably ill-chosen.

So, on the proverbial third hand, you may be getting the "yeuchs" from folks who can't get past the "separate" meme (and, as this reply suggests, this 'umble pilgrim is NOT convinced that meme deserves the status of Gospel).

For my money, aside from my trivial concern (YMMV) about excessive indenting, (and without testing it, tho I don't see a problem, "off hand,") your sample is acceptable if it does the job.


In reply to Re: overuse of CGI module HTML methods? by ww
in thread overuse of CGI module HTML methods? by weedom

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.