J
Jim
Hi,
The problem description is below. I would like for Script 2 to work
within IIS. Any feedback would be greatly appreciated. Thanks!
Jim
Windows XP SP2
ActivePerl 5.8.2 Build 808
Script 1
Run from the command line, this script works just fine, with or without
#!/usr/local/bin/perl -w
#!/usr/local/bin/perl -w
use CGI qw
standard);
use Win32::OLE;
open RUNBLAST2, "| C:\\Inetpub\\wwwroot\\port\\blast\\blastall -e .01
-p blastp -d C:\\Inetpub\\wwwroot\\port\\blast\\db\\gbpoxpep -F F -m 7
-o C:\\Inetpub\\wwwroot\\webtemp\\152895786322021484375.xml ";
print RUNBLAST2 ">CNPV-WC93:007\nMKSYDDKVKE LYSAIESNDK";
close RUNBLAST2 ;
exit(0);
Script2
Accessed via IIS, this script has a problem:
print() on closed filehandle RUNBLAST2 at
c:\inetpub\wwwroot\port\blast\blast_xml_run_p.pl line 8.
If I remove #!/usr/local/bin/perl -w, the script still doesn't work,
but no error message is returned.
#!/usr/local/bin/perl -w
use CGI qw
standard);
use Win32::OLE;
print header(), start_html(-title=>'Test',
#-BACKGROUND=>'pebblebackgrd.gif',
-BGCOLOR=>'#FFFFFF');
open RUNBLAST2, "| C:\\Inetpub\\wwwroot\\port\\blast\\blastall -e .01
-p blastp -d C:\\Inetpub\\wwwroot\\port\\blast\\db\\gbpoxpep -F F -m 7
-o C:\\Inetpub\\wwwroot\\webtemp\\152895786322021484376.xml ";
print RUNBLAST2 ">CNPV-WC93:007\nMKSYDDKVKE LYSAIESNDK";
close RUNBLAST2 ;
print end_html();
exit(0);
The problem description is below. I would like for Script 2 to work
within IIS. Any feedback would be greatly appreciated. Thanks!
Jim
Windows XP SP2
ActivePerl 5.8.2 Build 808
Script 1
Run from the command line, this script works just fine, with or without
#!/usr/local/bin/perl -w
#!/usr/local/bin/perl -w
use CGI qw
use Win32::OLE;
open RUNBLAST2, "| C:\\Inetpub\\wwwroot\\port\\blast\\blastall -e .01
-p blastp -d C:\\Inetpub\\wwwroot\\port\\blast\\db\\gbpoxpep -F F -m 7
-o C:\\Inetpub\\wwwroot\\webtemp\\152895786322021484375.xml ";
print RUNBLAST2 ">CNPV-WC93:007\nMKSYDDKVKE LYSAIESNDK";
close RUNBLAST2 ;
exit(0);
Script2
Accessed via IIS, this script has a problem:
print() on closed filehandle RUNBLAST2 at
c:\inetpub\wwwroot\port\blast\blast_xml_run_p.pl line 8.
If I remove #!/usr/local/bin/perl -w, the script still doesn't work,
but no error message is returned.
#!/usr/local/bin/perl -w
use CGI qw
use Win32::OLE;
print header(), start_html(-title=>'Test',
#-BACKGROUND=>'pebblebackgrd.gif',
-BGCOLOR=>'#FFFFFF');
open RUNBLAST2, "| C:\\Inetpub\\wwwroot\\port\\blast\\blastall -e .01
-p blastp -d C:\\Inetpub\\wwwroot\\port\\blast\\db\\gbpoxpep -F F -m 7
-o C:\\Inetpub\\wwwroot\\webtemp\\152895786322021484376.xml ";
print RUNBLAST2 ">CNPV-WC93:007\nMKSYDDKVKE LYSAIESNDK";
close RUNBLAST2 ;
print end_html();
exit(0);