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

SYNOPSIS

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

DESCRIPTION

28       This module scans your project/distribution for any perl files
29       (scripts, modules, etc) for the presence of tabs.
30

EXPORT

32       A list of functions that can be exported.  You can delete this section
33       if you don't export anything, such as for a purely object-oriented
34       module.
35

FUNCTIONS

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

AUTHOR

56       Nick Gerakines, "<nick at socklabs.com>"
57

BUGS

59       Please report any bugs or feature requests to "bug-test-notabs at
60       rt.cpan.org", or through the web interface at
61       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-NoTabs>.  I will
62       be notified, and then you'll automatically be notified of progress on
63       your bug as I make changes.
64

SUPPORT

66       You can find documentation for this module with the perldoc command.
67
68           perldoc Test::NoTabs
69
70       You can also look for information at:
71
72       ·   AnnoCPAN: Annotated CPAN documentation
73
74           <http://annocpan.org/dist/Test-NoTabs>
75
76       ·   CPAN Ratings
77
78           <http://cpanratings.perl.org/d/Test-NoTabs>
79
80       ·   RT: CPAN's request tracker
81
82           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-NoTabs>
83
84       ·   Search CPAN
85
86           <http://search.cpan.org/dist/Test-NoTabs>
87

ACKNOWLEDGEMENTS

89       Inspired by some code written by Paul Lindner.
90
91       Test::Strict was used as an example when creating this module and
92       distribution.
93
94       Rick Myers and Emanuele Zeppieri also provided valuable feedback.
95
96       Patch to fix warnings provided by Florian Ragwitz (rafl)
97
98       Currently maintained by Tomas Doran (t0m) "bobtfish@bobtfish.net"
99

SEE ALSO

101       Test::More, Test::Pod. Test::Distribution, <Test:NoWarnings>
102
104       Copyright 2006 Nick Gerakines, all rights reserved.
105
106       This program is free software; you can redistribute it and/or modify it
107       under the same terms as Perl itself.
108
109
110
111perl v5.16.3                      2012-06-25                   Test::NoTabs(3)
Impressum