DESCRIPTION A mini implement of Web::Query, but all method return Array object, no matter wantarray or no. I only want something work with web_get, so modify-relate methods all deleted.
find my $dom = HTTP::DOM->new($content); print $dom->find('#m')->text->get(0);
html
text my $dom = HTTP::DOM->new($content); print $dom->text->get(0);
attr my $url = 'http://www.baidu.com/'; my $hc = HTTP::Client->new; my $content = $hc->web_get($url); my $dom = HTTP::DOM->new($content); print $dom->find('meta')->attr('content')->get(0);
Module Install Instructions
To install NG, copy and paste the appropriate command in to your terminal.