Help for this page

Select Code to Download


  1. or download this
    ...
    my @outbound_links = grep { $_->url !~ qr!^https?://$hostname/! } $mec
    +h->find_all_links;
    ...
    
  2. or download this
    my @outbound_links = $mech->find_all_links(
        url_abs_regex => qr<^(?!https?://\Q$hostname\E/)>,
    );