Removed /usr/local from CDPATH
[clearscm.git] / clearadm / readme.cgi
1 #!/usr/local/bin/perl
2
3 =pod
4
5 =head1 NAME $RCSfile: readme.cgi,v $
6
7 Display the README file
8
9 =head1 VERSION
10
11 =over
12
13 =item Author
14
15 Andrew DeFaria <Andrew@ClearSCM.com>
16
17 =item Revision
18
19 $Revision: 1.2 $
20
21 =item Created:
22
23 Mon Oct 25 11:10:47 PDT 2008
24
25 =item Modified:
26
27 $Date: 2011/02/14 14:54:19 $
28
29 =back
30
31 =head1 DESCRIPTION
32
33 This script displays the README file
34
35 =cut
36
37 use strict;
38 use warnings;
39
40 use FindBin;
41 use Getopt::Long;
42
43 use CGI qw(:standard *table start_Tr end_Tr);
44 use CGI::Carp 'fatalsToBrowser';
45
46 use lib "$FindBin::Bin/lib", "$FindBin::Bin/../lib";
47
48 use ClearadmWeb;
49 use Display;
50 use Utils;
51
52 # Main
53 GetOptions(
54   'usage'        => sub { Usage },
55   'verbose'      => sub { set_verbose },
56   'debug'        => sub { set_debug },
57 ) or Usage "Invalid parameter";
58
59 # Announce ourselves
60 verbose "$ClearadmWeb::APPNAME V$ClearadmWeb::VERSION";
61
62 heading;
63
64 display '<pre><blockquote>';
65
66 display h1 {class => 'center'}, "$ClearadmWeb::APPNAME: README";
67
68 display $_ foreach (ReadFile 'README');
69
70 display '</pre></blockquote>';
71
72 footing;
73
74 =pod
75
76 =head1 CONFIGURATION AND ENVIRONMENT
77
78 DEBUG: If set then $debug is set to this level.
79
80 VERBOSE: If set then $verbose is set to this level.
81
82 TRACE: If set then $trace is set to this level.
83
84 =head1 DEPENDENCIES
85
86 =head2 Perl Modules
87
88 L<CGI|CGI.html>
89
90 L<CGI::Carp|CGI::Carp>
91
92 L<FindBin>
93
94 L<Getopt::Long|Getopt::Long>
95
96 =head2 ClearSCM Perl Modules
97
98 =begin man 
99
100  Display
101  Utils
102
103 =end man
104
105 =begin html
106
107 <blockquote>
108 <a href="http://clearscm.com/php/scm_man.php?file=clearadm/lib/ClearadmWeb.pm">ClearadmWeb</a><br>
109 <a href="http://clearscm.com/php/scm_man.php?file=lib/Display.pm">Display</a><br>
110 <a href="http://clearscm.com/php/scm_man.php?file=lib/Utils.pm">Utils</a><br>
111 </blockquote>
112
113 =end html
114
115 =head1 BUGS AND LIMITATIONS
116
117 There are no known bugs in this script
118
119 Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
120
121 =head1 LICENSE AND COPYRIGHT
122
123 Copyright (c) 2010, ClearSCM, Inc. All rights reserved.
124
125 =cut