summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-11-25 16:00:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-11-25 16:00:37 +0000
commit2d0f2531bb08e338e8679c0f2afd067c31368cd8 (patch)
tree2ecec58671013dee47254384615814c973efe716
parentdb77e78355a112fe4c55dce258775cefa48cffd2 (diff)
downloadperl-MDK-Common-2d0f2531bb08e338e8679c0f2afd067c31368cd8.tar
perl-MDK-Common-2d0f2531bb08e338e8679c0f2afd067c31368cd8.tar.gz
perl-MDK-Common-2d0f2531bb08e338e8679c0f2afd067c31368cd8.tar.bz2
perl-MDK-Common-2d0f2531bb08e338e8679c0f2afd067c31368cd8.tar.xz
perl-MDK-Common-2d0f2531bb08e338e8679c0f2afd067c31368cd8.zip
add some minimal comparison between perl_checker and perlcritic
-rw-r--r--perl_checker.src/perl_checker.html.pl15
1 files changed, 14 insertions, 1 deletions
diff --git a/perl_checker.src/perl_checker.html.pl b/perl_checker.src/perl_checker.html.pl
index cb90f6d..e90d2eb 100644
--- a/perl_checker.src/perl_checker.html.pl
+++ b/perl_checker.src/perl_checker.html.pl
@@ -21,12 +21,25 @@ $s = <<'EOF';
In perl_checker's subset of Perl, there is not too many ways to do it.
This is especially useful for big projects.
(NB: the subset is chosen to keep a good expressivity)
+</ul>
+
+<h1>Compared to <a href="http://perlcritic.tigris.org/">Perl-Critic</a>
+
+<ul>
+<li>perl_checker use its own OCaml-written perl parser, which is in no way as robust as <a href="http://www.perl.com/pub/a/2005/06/09/ppi.html">PPI</a>.
+ A PPI require is to be able to parse non finished perl documents.
+ perl_checker is a checker, and it is not a big deal to die horribly on a weird perl expression, telling the programmer what to write instead.
+
+<li>perl_checker is <b>much</b> faster (more than 100 times) (ML pattern matching rulez)
+
+<li>perl_checker checks a lot more things than perlcritic: undeclared variables, unknown functions, unknown methods...
+<li>and of course perl_checker checks are different from the Conways's <a href="http://www.oreilly.com/catalog/perlbp/">Perl Best Practices</a>
</ul>
<h1>Get it</h1>
-<a href="http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/perl-MDK-Common/perl_checker.src/">CVS source</a>
+<a href="http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/perl-MDK-Common/perl_checker.src/">CVS source</a>
<h1>Implemented features</h1>