hi,
i'm trying to get the input from the html textarea into a file or a variable, so that i could than execute with a perl script that i've written.
I thought using HTML::Form module would do the thing, but unfortunately i haven't used it before and don't know how it works.
--------part of myfile.html----------
<b>Query sequence in fasta format:</b><br>
<textarea name="sequence" cols="61" rows="10"></textarea>
<br>
---------part of myfile.cgi------------
$seq=$query->param('sequenc e');
system("perl ncbi2tcblast.pl \$seq");
the above doesn't work for some reason, which i think is because the sequence that i paste in the form (textarea) doesn't get it in $seq variable in the same format (ie, everything seems to be in one long line without any new line characters). so, i thought i should try HTML::Form. And also, i am trying to get the result of the 'system("perl ncbi2tcblast.pl \$seq");' on the browser.
thanks
i'm trying to get the input from the html textarea into a file or a variable, so that i could than execute with a perl script that i've written.
I thought using HTML::Form module would do the thing, but unfortunately i haven't used it before and don't know how it works.
--------part of myfile.html----------
<b>Query sequence in fasta format:</b><br>
<textarea name="sequence" cols="61" rows="10"></textarea>
<br>
---------part of myfile.cgi------------
$seq=$query->param('sequenc e');
system("perl ncbi2tcblast.pl \$seq");
the above doesn't work for some reason, which i think is because the sequence that i paste in the form (textarea) doesn't get it in $seq variable in the same format (ie, everything seems to be in one long line without any new line characters). so, i thought i should try HTML::Form. And also, i am trying to get the result of the 'system("perl ncbi2tcblast.pl \$seq");' on the browser.
thanks