Help for this page

Select Code to Download


  1. or download this
        my $text = $mech->content;
    
    ...
        while (my $tag = $tp->get_tag('img')) {
            print "Found image: ", $tag->[1]{src}, "\n";
        }
    
  2. or download this
    for ($mech->images) {
      print "Found image: ", $_->url_abs, "\n"
    }