$html = new CGI; # create a new instance of CGI $seq = $html->param('Sequence_input'); if($seq eq "") { GetOptions( "sequence=s" => \$seq); }