in reply to Why Would HTML::LinkExtor return a hash of attributes?
Where do you get that from?
"It's kind of confusing me. For a start, if it's a hash, shouldn't that be ..."
It's not a hash, where do you get hash from?
And why is print "$tag @{[%links]}\n"; scary to you?
More than anything it's kind of silly to me, cause all that sub needs to be is print "@_\n";
update:
"And more to the point, I'm racking my not-inconsiderable knowledge of HTML to try and find a situation where a single tag could have two or more attributes which were links.".
AFAIK, no attributes are ever "links". Duplicate SRC attributes wouldn't be valid HTML, and one of the 2 would be ignored. It's like this, if anyone writing HTML wants anybody to somewhat accurately interpret it, well, he's gotta write valid HTML, right? (right)
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why Would HTML::LinkExtor return a <I>hash</I> of attributes?
by Cody Pendant (Prior) on Aug 19, 2002 at 05:33 UTC | |
by PodMaster (Abbot) on Aug 19, 2002 at 05:44 UTC |