in reply to Re: Mojo::DOM find tag after another tag
in thread Mojo::DOM find tag after another tag
$ perl -Mojo -le " my $dom = x(b(q{2.html})->slurp); for my $img ( $d +om->find(q{h1 ~ img})->each ){ print $img->attr(q{src}); } " 333 444
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mojo::DOM find tag after another tag
by luxs (Beadle) on May 29, 2016 at 19:30 UTC |