in reply to Perl Critic and a formatting question.
Any suggestions would be appreciated.Do not run perlcritic in brutal mode. What's the prize?
Jokes aside:
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 +t a consistent layout, regardless of the specifics. And the easiest wa +y to do that is to use Perl::Tidy. This policy will complain if you're +code 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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Critic and a formatting question.
by Anonymous Monk on Apr 29, 2013 at 08:50 UTC | |
|
Re^2: Perl Critic and a formatting question.
by B-Man (Acolyte) on Apr 30, 2013 at 17:38 UTC |