Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How can I find the links in HTML tags?by dchetlin (Friar) |
on Sep 24, 2000 at 22:44 UTC ( [id://33855]=note: print w/replies, xml ) | Need Help?? |
The following 4-liner uses HTML::Parser; it was both easy to code and correct — unlike any regex solution you're likely to see. As coded, it assumes you're looking only for href links within anchor tags, but it is easily modified for other things, such as img tags.
In Section
Seekers of Perl Wisdom
|
|