Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Test::Perl::Lint(3)   User Contributed Perl Documentation  Test::Perl::Lint(3)

NAME
       Test::Perl::Lint	- A testing module to analyze your Perl	code with
       Perl::Lint

SYNOPSIS
	   use Test::Perl::Lint;

	   all_policies_ok({
	       targets => ['lib', 'script/bar.pl'],
	       ignore_files => ['lib/Foo/Buz.pm', 'lib/Foo/Qux.pm'],
	       filter => ['LikePerlCritic::Stern'],
	       ignore_policies => ['Modules::RequireVersionVar'],
	   });

DESCRIPTION
       A testing module	to analyze your	Perl code with Perl::Lint.

FUNCTIONS
       o   "all_policies_ok($args:HASHREF)"

	   This	function tests your codes whether they conform to the
	   policies.  $args accepts following fields;

	   targets (ARRAYREF)
		   THIS	FIELD IS ESSENTIAL.

		   Specify targets to test.  If	you specify directory as an
		   item, this function checks the all of files which are
		   contained in	that directory.

	   ignore_files	(ARRAYREF)
		   Specify files to exclude from testing target.

	   filter (ARRAYREF)
		   Apply Perl::Lint filters.

	   ignore_policies (ARRAYREF)
		   Specify policies to ignore violations.

SEE ALSO
       Perl::Lint

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>

perl v5.32.0			  2016-09-27		   Test::Perl::Lint(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | SEE ALSO | LICENSE | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Test::Perl::Lint&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help