Created
November 1, 2012 04:06
-
-
Save hiroyukim/3991644 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use utf8; | |
use Web::Query; | |
use NetAddr::IP; | |
my @ips; | |
wq(q{http://www.nttdocomo.co.jp/service/developer/smart_phone/technical_info/etc/index.html}) | |
->find('#maincol div:nth-child(4) div .delmb') | |
->each(sub{ | |
@ips = split / /, $_->text; | |
}); | |
use Data::Dumper; | |
warn Dumper [@ips]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment