my %hash; while ( my $token = $p->get_tag("a") ) { if ( my $href = $token->[1]{'href'} ) { # may need to prefix domain to $href my ($type, $length, $mod, $exp, $server) = head($href); $hash{$href} = $length; } }
In reply to Re: Help with Toke Parser
by tangent
in thread Help with Toke Parser
by StarkRavingCalm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |