You're right of course. However, after making sure goto wasn't flagged at any level, I took some artistic license to maximize comedic value and minimize snippet length. ;-)

pts/2 ryan@pi:~/src/shorts $> perlcritic -1 goto.pl No package-scoped "$VERSION" variable found at line 1, column 1. See +page 404 of PBP. (Severity: 2) Return value of flagged function ignored - say at line 6, column 1. S +ee pages 208,278 of PBP. (Severity: 1) Code before warnings are enabled at line 6, column 1. See page 431 of + PBP. (Severity: 4) 5 is not one of the allowed literal values (0, 1, 2). Use the Readonly + or Const::Fast module or the "constant" pragma instead at line 9, co +lumn 16. Unnamed numeric literals make code less maintainable. (Sev +erity: 2) Label "galileo" is not all upper case at line 10, column 1. See pages + 45,46 of PBP. (Severity: 1) Return value of flagged function ignored - say at line 10, column 10. + See pages 208,278 of PBP. (Severity: 1) Useless interpolation of literal string at line 10, column 14. See pa +ge 51 of PBP. (Severity: 1) Label "figaro" is not all upper case at line 13, column 1. See pages +45,46 of PBP. (Severity: 1) Return value of flagged function ignored - say at line 13, column 9. +See pages 208,278 of PBP. (Severity: 1)

In reply to Re^3: Go to perl::critic by rjt
in thread Go to perl::critic by rir

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.