Re: extracting links.. continued..

2002-01-16 Thread Michael Fowler
On Thu, Jan 17, 2002 at 10:10:16AM +1000, Lorne Easton wrote: > Thanks for the advice. I looked at using HTML::LinkExtor but decided against > it. Why would you do that? HTML is deceptively difficult to parse; given a choice, an already mature parser is usually much preferable to a hand-rolled s

RE: extracting links.. continued..

2002-01-16 Thread Lorne Easton
Hi there, Thanks for the advice. I looked at using HTML::LinkExtor but decided against it. I am using code like the following: sub get_urls { my @url_array; my ($data) = @_; print $data; #Put all ")|gi) { my $temp_tag = $1; #Strip out tags #Insert code here.. push @url_array,$temp_tag;