Changeset 18710

Show
Ignore:
Timestamp:
09/03/08 12:23:15 (5 years ago)
Author:
hirose31
Message:

入れるところまちがえてたので re-commit changeset:17841 ><

Location:
lang/perl/WWW-MobileCarrierJP/trunk
Files:
1 added
4 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/WWW-MobileCarrierJP/trunk/lib/WWW/MobileCarrierJP/AirHPhone/CIDR.pm

    r3855 r18710  
    55use URI; 
    66 
    7 my $url = 'http://www.willcom-inc.com/ja/service/contents_service/club_air_edge/for_phone/ip/'; 
     7sub url { 'http://www.willcom-inc.com/ja/service/contents_service/club_air_edge/for_phone/ip/' } 
    88 
    99sub scrape { 
     
    1313                        +{ ip => $1, subnetmask => $2 }; 
    1414                    }]; 
    15     }->scrape(URI->new($url))->{cidr}; 
     15    }->scrape(URI->new(__PACKAGE__->url))->{cidr}; 
    1616} 
    1717 
  • lang/perl/WWW-MobileCarrierJP/trunk/lib/WWW/MobileCarrierJP/DoCoMo/CIDR.pm

    r3855 r18710  
    55use URI; 
    66 
    7 my $url = 'http://www.nttdocomo.co.jp/service/imode/make/content/ip/'; 
     7sub url { 'http://www.nttdocomo.co.jp/service/imode/make/content/ip/'; } 
    88 
    99sub scrape { 
     
    1616                    } 
    1717                ]; 
    18     }->scrape(URI->new($url))->{cidr}; 
     18    }->scrape(URI->new(__PACKAGE__->url))->{cidr}; 
    1919} 
    2020 
  • lang/perl/WWW-MobileCarrierJP/trunk/lib/WWW/MobileCarrierJP/EZWeb/CIDR.pm

    r3855 r18710  
    55use URI; 
    66 
    7 my $url = 'http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html'; 
     7sub url { 'http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html'; } 
    88 
    99sub scrape { 
     
    1313            process '//td[position()=3]/div', 'subnetmask', 'TEXT'; 
    1414        }; 
    15     }->scrape(URI->new($url))->{ip}; 
     15    }->scrape(URI->new(__PACKAGE__->url))->{ip}; 
    1616} 
    1717 
  • lang/perl/WWW-MobileCarrierJP/trunk/lib/WWW/MobileCarrierJP/ThirdForce/CIDR.pm

    r12287 r18710  
    55use URI; 
    66 
    7 my $url = 'http://creation.mb.softbank.jp/web/web_ip.html'; 
     7sub url { 'http://creation.mb.softbank.jp/web/web_ip.html'; } 
    88 
    99sub scrape { 
     
    2020              } 
    2121          ]; 
    22     }->scrape(URI->new($url))->{cidr}; 
     22    }->scrape(URI->new(__PACKAGE__->url))->{cidr}; 
    2323} 
    2424