1ok(3)                 User Contributed Perl Documentation                ok(3)
2
3
4

NAME

6       ok - Alternative to Test::More::use_ok
7

SYNOPSIS

9           use ok( 'Some::Module' );
10

DESCRIPTION

12       With this module, simply change all "use_ok" in test scripts to "use
13       ok", and they will be executed at "BEGIN" time.
14
15       Please see Test::use::ok for the full description.
16
18       Copyright 2005, 2006 by Audrey Tang <cpan@audreyt.org>.
19
20       This software is released under the MIT license cited below.
21
22       The "MIT" License
23
24       Permission is hereby granted, free of charge, to any person obtaining a
25       copy of this software and associated documentation files (the "Soft‐
26       ware"), to deal in the Software without restriction, including without
27       limitation the rights to use, copy, modify, merge, publish, distribute,
28       sublicense, and/or sell copies of the Software, and to permit persons
29       to whom the Software is furnished to do so, subject to the following
30       conditions:
31
32       The above copyright notice and this permission notice shall be included
33       in all copies or substantial portions of the Software.
34
35       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
36       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER‐
37       CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
38       NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
39       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
40       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT‐
41       WARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
42
43
44
45perl v5.8.8                       2006-10-30                             ok(3)
Impressum