in reply to Re: Passing and recieving params
in thread Passing and recieving params

The following would be more appropriate:
my $seq; ... if (defined($ENV{GATEWAY_INTERFACE})) { # We were called via CGI. my $cgi = new CGI; $seq = $cgi->param('Sequence_input'); ... } else { GetOptions( "sequence=s" => \$seq, ... ); }