GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Test::Perl::Lint(3) User Contributed Perl Documentation Test::Perl::Lint(3)

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

    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'],
    });

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

"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.

Perl::Lint

Copyright (C) moznion.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

moznion <moznion@gmail.com>
2016-09-27 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.