1Test::NoTabs(3)       User Contributed Perl Documentation      Test::NoTabs(3)
2
3
4

NAME

6       Test::NoTabs - Check the presence of tabs in your project
7

VERSION

9       version 2.02
10

SYNOPSIS

12       "Test::NoTabs" lets you check the presence of tabs in your perl code.
13       It report its results in standard "Test::Simple" fashion:
14
15         use Test::NoTabs tests => 1;
16         notabs_ok( 'lib/Module.pm', 'Module is tab free');
17
18       Module authors can include the following in a t/notabs.t and have
19       "Test::NoTabs" automatically find and check all perl files in a module
20       distribution:
21
22         use Test::NoTabs;
23         all_perl_files_ok();
24
25       or
26
27         use Test::NoTabs;
28         all_perl_files_ok( @mydirs );
29

DESCRIPTION

31       This module scans your project/distribution for any perl files
32       (scripts, modules, etc) for the presence of tabs.
33

FUNCTIONS

35   all_perl_files_ok( [ @directories ] )
36       Applies "notabs_ok()" to all perl files found in @directories (and sub
37       directories). If no <@directories> is given, the starting point is one
38       level above the current running script, that should cover all the files
39       of a typical CPAN distribution. A perl file is *.pl or *.pm or *.t or a
40       file starting with "#!...perl"
41
42       If the test plan is defined:
43
44         use Test::NoTabs tests => 3;
45         all_perl_files_ok();
46
47       the total number of files tested must be specified.
48
49   notabs_ok( $file [, $text] )
50       Run a tab check on $file. For a module, the path (lib/My/Module.pm) or
51       the name (My::Module) can be both used.
52

ACKNOWLEDGEMENTS

54       Inspired by some code written by Paul Lindner.
55
56       Test::Strict was used as an example when creating this module and
57       distribution.
58
59       Rick Myers and Emanuele Zeppieri also provided valuable feedback.
60
61       Patch to fix warnings provided by Florian Ragwitz (rafl)
62
63       Currently maintained by Tomas Doran (t0m) "bobtfish@bobtfish.net"
64

SEE ALSO

66       Test::More, Test::Pod. Test::Distribution, Test::NoWarnings
67

SUPPORT

69       Bugs may be submitted through the RT bug tracker
70       <https://rt.cpan.org/Public/Dist/Display.html?Name=Test-NoTabs> (or
71       bug-Test-NoTabs@rt.cpan.org <mailto:bug-Test-NoTabs@rt.cpan.org>).
72
73       There is also a mailing list available for users of this distribution,
74       at <http://lists.perl.org/list/perl-qa.html>.
75
76       There is also an irc channel available for users of this distribution,
77       at "#perl" on "irc.perl.org" <irc://irc.perl.org/#perl-qa>.
78

AUTHORS

80       ·   Nick Gerakines <nick@socklabs.com>
81
82       ·   Tomas Doran (t0m) <bobtfish@bobtfish.net>
83

CONTRIBUTORS

85       ·   Karen Etheridge <ether@cpan.org>
86
87       ·   Nick Gerakines <nick@gerakines.net>
88
89       ·   Prakash Kailasa <pk-github@kailasa.net>
90
91       ·   Justin Cook <jscook@users.noreply.github.com>
92
94       This software is copyright (c) 2006 by Nick Gerakines.
95
96       This is free software; you can redistribute it and/or modify it under
97       the same terms as the Perl 5 programming language system itself.
98
99
100
101perl v5.30.0                      2019-07-26                   Test::NoTabs(3)
Impressum