in reply to Re: The maybe it is better written this way tool
in thread The maybe it is better written this way tool
"processing @ARGV" is hard to quantify into a test.That's why I am asking here for suggestions but in what to check and if it seems to be possible. Regarding @ARGV I would look for 2 or more occurrences of either \$ARGV\[ or shift; outside of any sub or shift @ARGV; and then recommend.
Funny how easily we can misunderstand each other. I mentioned Perl::Critic in my post in order to acknowledge it and to show I am aware of it and not in order dismiss it. Not at all. Though I have not checked Perl::Critic for these I am looking for things that are probably not covered by Perl::Critic (yet?) as they are not really Perl coding styles. If the implementation will be another extension of Perl::Critic or something else is another matter. It would be probably easier for the user (and for the Padre integration) if it was built on top of Perl::Critic.
As it was pointed out by others at least one of the examples I gave is already covered by Perl::Critic. I should read the book again...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The maybe it is better written this way tool
by ikegami (Patriarch) on Nov 23, 2009 at 19:42 UTC | |
by szabgab (Priest) on Dec 02, 2009 at 20:20 UTC | |
by ikegami (Patriarch) on Dec 02, 2009 at 23:19 UTC |