While I didn't like the appearance of the mob scene, there are excellent reasons why your code got flamed. I suggest that you take some time out to find out what is and is not available before you start contributing large amounts of code. The search box in the upper left corner is an excellent place to start. Super Search is an excellent place to continue (but it is harder on the server). If you need to then ask in chatter where stuff is on foo before submitting code about foo.

Otherwise when you submit advice and there are problems with it, people will (sometimes loudly) inform the world of the problems in it. Not for their good. And possibly not really for yours. But so that nobody else will be tempted to make the mistakes that you are recommending.

Incidentally you will find that people tend to be very kind on people asking questions in SoPW, fairly kind within conversation threads, somewhat more critical to people offering snippets and code samples, and very critical very fast if you offer bad advice which is bad for reasons that come up regularly.

You did the last, which is why you got such an extremely negative reaction.


In reply to Re (tilly) 4: Get input data from STDIN *and* query string by tilly
in thread Get input data from STDIN *and* query string by EvanK

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.