-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
60 lines (37 loc) · 1.3 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Debug-Simple v0.10
This module is just a very simple printf debugging library which integrates
easily with Getopt::Long.
This example shows how Debug::Simple code can be tied in with GetOpt::Long.
use Debug::Simple;
use Getopt::Long;
help() unless GetOptions( $opt = {},
qw(help debug:i quiet test verbose|v+) );
help() if $opt->{help};
Debug::Simple::debuglevels($opt);
warning("This is a warning\n");
debug(2, "Command line options ", OPT=>$opt);
verbose(1, "Now on with the show\n");
...
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Debug::Simple
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Debug-Simple
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Debug-Simple
CPAN Ratings
http://cpanratings.perl.org/d/Debug-Simple
Search CPAN
http://search.cpan.org/dist/Debug-Simple
COPYRIGHT AND LICENCE
Copyright (C) 2008 Behan Webster
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.