[Bio] / FigWebServices / WarnTest.cgi Repository:
ViewVC logotype

Annotation of /FigWebServices/WarnTest.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download)

1 : parrello 1.1 #!/usr/bin/perl -w
2 :     #
3 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
4 :     # for Interpretations of Genomes. All Rights Reserved.
5 :     #
6 :     # This file is part of the SEED Toolkit.
7 :     #
8 :     # The SEED Toolkit is free software. You can redistribute
9 :     # it and/or modify it under the terms of the SEED Toolkit
10 :     # Public License.
11 :     #
12 :     # You should have received a copy of the SEED Toolkit Public License
13 :     # along with this program; if not write to the University of Chicago
14 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
15 :     # Genomes at veronika@thefig.info or download a copy from
16 :     # http://www.theseed.org/LICENSE.TXT.
17 :     #
18 :    
19 :    
20 :     =head1 Warn Test
21 :    
22 :     Issue a warning using the C<text> parameter as the text.
23 :    
24 :     =cut
25 :    
26 :     use strict;
27 :     use CGI;
28 :     use Tracer;
29 :    
30 :     # Get the CGI parameters.
31 :     my $cgi = new CGI;
32 :     ETracing($cgi);
33 :     my $text = $cgi->param('text');
34 :     Warn("Warning test: $text");
35 :     print $cgi->header();
36 :     print $cgi->start_html();
37 :     print $cgi->p("Test message sent: $text");
38 :     print $cgi->end_html();
39 :    
40 :     1;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3