Displaying 1 result from an estimated 1 matches for "html1".
Did you mean:
html
2011 Nov 21
1
Read from HTML file, print if see a specific string
...string for use later in the
script, but any help is good help. Been at this for HOURS and HOURS and
HOURS.
This is what I have so far:
#Open html file
$filename1 = 'Result1.html';
open (FILE1, $filename1) or die "Can't open $filename1 $!";
#Create array of results file data
@html1 = <FILE1>;
close (FILE1);
#What to look for
$genbank='^=GenBank">\$';
foreach $html1(@html1)
{
if (index($html1,$genbank) ge 0)
{
print "Number here!\n";
}
}
--
View this messag...