in reply to Re: How do I return the text of a link after using find_link with WWW::Mechanize?
in thread How do I return the text of a link after using find_link with WWW::Mechanize?

Thanks guys. I ended up with:
my $topic_obj = $mech->find_link (text_regex => qr/[LINK TEXT]/i ); $PrevMsg = $topic_obj->url; $PrevMsg =~ s/[SORTED DATA]//g;
and it works wonderfully.
  • Comment on Re^2: How do I return the text of a link after using find_link with WWW::Mechanize?
  • Download Code