1
2
3
4
5
6
7
8
9
#! /usr/bin/perl
use strict;
use CGI qw(:standard);
my $option = param("type");
if($option eq "newQuery"){
redirect($hostURL .'/cgi-bin/I/relationIQuery.pl?type=list');
} elsif($option eq "similarExtractI"){
# some HTML file is generated
}
1 2 3 4 5 6 7 8 9
#! /usr/bin/perl use strict; use CGI qw(:standard); my $option = param("type"); if($option eq "newQuery"){ print redirect($hostURL .'/cgi-bin/I/relationIQuery.pl?type=list'); } elsif($option eq "similarExtractI"){ # some HTML file is generated }