Your
earlier post included something like:
my $url3="http://microrna.sanger.ac.uk/blah/blah";
my $content=get $url3;
This give you a string in
$content that you can supply to
$p->parse_content($content);.
I only used the special perl <DATA> file handle for the purposes of the example (so I could easily get a string of HTML).
You won't need to do this as that is what LWP::Simple's get gives you.
You need to use the regex on the text, so something like this might do it (untested):
for my $td (@tds){
my $bold = $td->look_down(_tag => q{b}); # look for a bold tag
next unless $bold;
my $txt = $bold->as_text;
if ($txt=~ m/miR|let/){
print $txt, qq{\n}; # if there is one print the text
}
}
Hope that helps