Thread Mojo: find->second? (6 answers)
Opened by Ionit at 2014-09-15 15:17

Gast Gast
 2014-09-15 15:46
#177278 #177278
Code (perl): (dl )
1
2
3
4
5
my @details = $dom->find(".beitrag")->each( sub {
    my @ps = $_->find("p");
    my $persoenliches = $ps[0]->text;
    my $zweetes = $ps[1]->text;
    });


modedit Editiert von pq: code-tags
Last edited: 2014-09-15 17:19:09 +0200 (CEST)

View full thread Mojo: find->second?