in reply to Re: Mojo Dom extract
in thread Mojo Dom extract
Because I don't know how to do it efficiently if possible, ie without 10 lines like :
$dom->find('div.date')->map(sub{$_->children->each})->map(sub{$_->text})->each
$dom->find('div.lieu')->map(sub{$_->children->each})->map(sub{$_->text})->each .. etc
Would like:
Dom->ret->a => anchor
Dom->ret->rtm->date => date fields .. etc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mojo Dom extract
by Anonymous Monk on May 27, 2015 at 09:56 UTC | |
by ribo75017 (Initiate) on May 27, 2015 at 16:45 UTC | |
by Anonymous Monk on May 28, 2015 at 03:04 UTC |