
brsaran
New User
Jul 24, 2010, 12:11 PM
Post #1 of 2
(1333 views)
|
|
how to get the link url as scalar
|
Can't Post
|
|
hi I want to extract all the links from a webpage as scalar here is my actual code
use WWW::Mechanize; my $m = WWW::Mechanize->new(); $url = 'http://www.ebi.ac.uk/Tools/blast2/'; $m->get($url); $m->form_number(1); $m->field('sequence', 'EALLKLKRLGSIHLKNKI'); $m->submit_form(); $res = $m->content(); $res has the content of the submitted page and i want to extract the links in the page and want to store it as a scalar is there any way? thanks in advance
|