in reply to Re: Why Would HTML::LinkExtor return a hash of attributes?
in thread Why Would HTML::LinkExtor return a hash of attributes?
Why does it have "key => val, key => val" if it isn't?
Plus, if it isn't, why does the sub grab it as:
if it isn't a hash?my($tag, %links) = @_;
all that sub needs to be is print "@_\n"
Try it. You get both the "HREF" and the thing it's a link to. I don't want to extract "HREF" 5,000 times do I?
--
($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Why Would HTML::LinkExtor return a hash of attributes?
by PodMaster (Abbot) on Aug 19, 2002 at 05:44 UTC |