-
-
27 Sep 2016 02:11:22 UTC
- Distribution: Perl-Lint
- Module version: 0.25
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (28)
- Testers (29 / 728 / 94)
- Kwalitee
Bus factor: 1- 90.30% Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (168.22KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Perl::Lint - Yet Another Perl Source Code Linter
SYNOPSIS
use Perl::Lint; my $linter = Perl::Lint->new; my $target_files = [qw(foo/bar.pl buz.pm)]; my $violations = $linter->lint($target_files);
DESCRIPTION
Perl::Lint is the yet another source code linter for perl.
AIMS
Development of this module aims to create a fast and flexible static analyzer for Perl5 that has compatibility with Perl::Critic
Please see also http://news.perlfoundation.org/2014/03/grant-proposal-perllint---yet.html.
METHODS
$linter->lint($target_files:SCALAR or ARRAYREF, $args:HASHREF)
lint
checks the violations of target files. It can export. On default, this function checks the all of policies that are inPerl::Lint::Policy::*
.
PERFORMANCE
Benchmark script: https://github.com/moznion/Perl-Lint/blob/master/author/benchmark_lint_vs_critic.pl.
Rate Perl::Critic Perl::Lint Perl::Critic 20.6/s -- -78% Perl::Lint 92.0/s 348% --
SEE ALSO
LICENSE
Copyright (C) moznion.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
moznion <moznion@gmail.com>
Module Install Instructions
To install Perl::Lint, copy and paste the appropriate command in to your terminal.
cpanm Perl::Lint
perl -MCPAN -e shell install Perl::Lint
For more information on module installation, please visit the detailed CPAN module installation guide.