in reply to one line programs

Please don't try and parse HTML yourself. To extract links from an HTML document, see HTML::LinkExtor.

Please do use the search box at the top of every PM page. I typed in 'extract links', and here are a few of the results it returned:
As an aside, please read some of the documentation on the site before posting. For a good starter, read all of the documents linked from footpad's Re: FAQ Node.

--sacked
  • Comment on (sacked: HTML::LinkExtor) Re: one line programs