See http://stackoverflow.com/questions/10655207/perl-extending-code-to-get-particular-information-from-website for earlier discussion.use Web::Query 'wq'; use YAML::XS qw(DumpFile); my @ports = … my %results; for my $port (@ports) { my $w = wq "http://wwwdev.ebi.ac.uk/interpro/ISearch?query=$port"; $results{$port} = [$w->find('.prot_fam a')->text] if $w->find('.prot_fam a')->size; } DumpFile 'results.txt', \%results;
In reply to Re: Reading particular information from Html page and skipping the page that doesn't contain that information
by daxim
in thread Reading particular information from Html page and skipping the page that doesn't contain that information
by rmgzsm9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |