bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
if i send get request. any idea how i can parse response to print only like <title>Hello</title> prints Hello only
my $req = HTTP::Request->new(GET => 'https://www.google.com'); $req->content_type('application/json'); my $res = $ua->request($req);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: html parsing
by haukex (Archbishop) on Mar 22, 2017 at 14:30 UTC | |
Re: html parsing
by davido (Cardinal) on Mar 22, 2017 at 14:44 UTC | |
by Anonymous Monk on Mar 22, 2017 at 15:07 UTC | |
Re: html parsing
by Corion (Patriarch) on Mar 22, 2017 at 14:28 UTC | |
Re: html parsing
by marto (Cardinal) on Mar 22, 2017 at 14:32 UTC | |
Re: html parsing
by hippo (Archbishop) on Mar 22, 2017 at 15:12 UTC | |
Re: html parsing
by shmem (Chancellor) on Mar 22, 2017 at 15:11 UTC | |
by Anonymous Monk on Mar 22, 2017 at 15:25 UTC | |
by shmem (Chancellor) on Mar 22, 2017 at 15:40 UTC | |
by Anonymous Monk on Mar 22, 2017 at 15:51 UTC | |
by bigup401 (Pilgrim) on Mar 22, 2017 at 19:53 UTC |