Any suggestions would be appreciated.
Do not run perlcritic in brutal mode. What's the prize?
If you run perlcritic
with --verbose 10
, it will give you some explanation:
Code is not tidy at line 1, column 1.
CodeLayout::RequireTidyCode (Severity: 1)
Conway does make specific recommendations for whitespace and
curly-braces in your code, but the most important thing is to adop
consistent layout, regardless of the specifics. And the easiest wa
do that is to use Perl::Tidy. This policy will complain if you're
hasn't been run through Perl::Tidy.
If you run perltidy on the code, you will get two more spaces after $VERSION and the complaint will disappear. Go figure.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||