Help for this page

Select Code to Download


  1. or download this
    ...
    use WWW::Mechanize;
    my $mech = WWW::Mechanize->new();
    $mech->get( $url );
    my @links = $mech->links();
    
  2. or download this
    for my $l (@links) {
           next if $l->url() =~ /foo/;
           push ( @non_foo_links, $l );
           ...