chella2104@gmail.com has asked for the wisdom of the Perl Monks concerning the following question:
This is my code
use strict; use warnings; use feature 'say'; use Mojo; my $ua = Mojo::UserAgent->new; my $array = $ua->get('http://www.sqlite.org/expridx.html')->res->dom- +>find('div > p ')->map('all_text')->join("\n"); print "\n$array\n";
In this code only p tag value But I want p tag value with ul tag value
Please check this link http://www.sqlite.org/expridx.html
Can Anyone help me ??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to print div tag value with ul and ol tag value
by Corion (Patriarch) on Jan 13, 2016 at 09:09 UTC | |
by chella2104@gmail.com (Sexton) on Jan 13, 2016 at 09:19 UTC | |
by Corion (Patriarch) on Jan 13, 2016 at 09:24 UTC | |
|
Re: how to print div tag value with ul and ol tag value
by Anonymous Monk on Jan 13, 2016 at 09:53 UTC | |
|
Re: how to print div tag value with ul and ol tag value
by natxo (Scribe) on Jan 13, 2016 at 22:21 UTC |