use List::MoreUtils qw/part/; my ($first_type, $second_type, $others) = part { if ($_->url =~ /page=(\d+)$/) { 0 } elsif ($_->attrs->{class} eq 'listAnchor') { 1 } else { 2 } } $mech1->find_all_links();
In reply to Re: can we find two different kind of links using find_all_links
by tobyink
in thread can we find two different kind of links using find_all_links
by jack123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |