in reply to Listing all <a>...</a> tags in HTML file

If you've got other interests besides the contents of href attributes then yes you want to look at one of the parsing modules (see also HTML::TreeBuilder), but if you just want a list of URLs out HTML::LinkExtor may need less scaffolding to get going.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Listing all <a>...</a> tags in HTML file