Last Saturday, a few of the Silicon Valley monks (namely neshura, redmist, myself and my significant other) went playing pool. The way I'm used to playing pool back home is a bit different than the pool played in the US. (Even when Brazilians play slop, we are still much more strict than the American slop pool)

Some of these differences spawned the bizarre idea that there should be a counterpart for use strict. You know? For those who can't code even to save their lives? use slop would be the "miracle worker" for those days in which you really don't feel like checking syntax or being correct. use slop wouldn't warn you if anything went wrong, it would just let it slide and preferably ommit errors and just ignore the existance of STDERR, or even STDOUT at times! I mean, if you're really gonna get sloppy, why even check for output?

And now, for your nightmare of coding pleasure - I think we would go something like this:
#!perl # its not in your path?? use slop; # remember 'dis, Ma? require 'cgi-lib.pl'; # yes, its a typo REadParse(); # and who cares about string types? if ($in{user{ == BBQ and $in{password} == 'phooey') # or braces? # why indent? why print a content type? print $a_variable_thats_going_to_be_def_l8er ifelse # yeah, why not? warn 'it didn't work' # oops, should i have escaped that? # well, you get the idea return('foo');
Okay, it actually does't look as bad I thought it would, but maybe that's just because it actually looks like code a write every once in a while. use slop++

#!/home/bbq/bin/perl
# Trust no1!

In reply to use slop; by BBQ

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.