Skip to content

Instantly share code, notes, and snippets.

@hiroyukim
Created November 1, 2012 04:06
Show Gist options
  • Save hiroyukim/3991644 to your computer and use it in GitHub Desktop.
Save hiroyukim/3991644 to your computer and use it in GitHub Desktop.
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