5 =head1 NAME $RCSfile: tasks.cgi,v $
15 Andrew DeFaria <Andrew@ClearSCM.com>
23 Mon Oct 25 11:10:47 PDT 2008
27 $Date: 2011/01/27 01:15:13 $
33 Usage tasks.cgi: [-u|sage] [-ve|rbose] [-d|ebug]
36 -u|sage: Displays usage
38 -d|ebug: Output debug messages
42 This script displays tasks
51 use CGI qw (:standard :cgi-lib *table start_Tr end_Tr);
52 use CGI::Carp 'fatalsToBrowser';
54 use lib "$FindBin::Bin/lib", "$FindBin::Bin/../lib";
61 my $VERSION = '$Revision: 1.3 $';
62 ($VERSION) = ($VERSION =~ /\$Revision: (.*) /);
70 usage => sub { Usage },
71 verbose => sub { set_verbose },
72 debug => sub { set_debug },
73 ) or Usage 'Invalid parameter';
75 verbose "$FindBin::Script v$VERSION";
77 $clearadm = Clearadm->new;
79 my $title = $opts{task}
80 ? "Tasks matching $opts{task}"
85 display h1 {class => 'center'}, $title;
87 displayTask ($opts{task});
93 =head1 CONFIGURATION AND ENVIRONMENT
95 DEBUG: If set then $debug is set to this level.
97 VERBOSE: If set then $verbose is set to this level.
99 TRACE: If set then $trace is set to this level.
107 L<CGI::Carp|CGI::Carp>
111 L<Getopt::Long|Getopt::Long>
113 =head2 ClearSCM Perl Modules
127 <a href="http://clearscm.com/php/scm_man.php?file=clearadm/lib/Clearadm.pm">Clearadm</a><br>
128 <a href="http://clearscm.com/php/scm_man.php?file=clearadm/lib/ClearadmWeb.pm">ClearadmWeb</a><br>
129 <a href="http://clearscm.com/php/scm_man.php?file=lib/Display.pm">Display</a><br>
130 <a href="http://clearscm.com/php/scm_man.php?file=lib/Utils.pm">Utils</a><br>
135 =head1 BUGS AND LIMITATIONS
137 There are no known bugs in this script
139 Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
141 =head1 LICENSE AND COPYRIGHT
143 Copyright (c) 2010, ClearSCM, Inc. All rights reserved.