Show
Ignore:
Timestamp:
01/19/08 05:07:46 (5 years ago)
Author:
yappo
Message:

revert revision 4905, 4906, 4907, 4908, 4909

Location:
lang/perl/Net-CIDR-MobileJP/tags/0.10
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Net-CIDR-MobileJP/tags/0.10/Changes

    r4908 r4919  
    11Revision history for Net-CIDR-MobileJP 
     2 
     30.10 
     4    fix a build problem 
    25 
    360.0.9  Thu Dec  6 18:21:39 PST 2007 
  • lang/perl/Net-CIDR-MobileJP/tags/0.10/MANIFEST

    r4908 r4919  
    2222net-cidr-mobilejp-scraper.pl 
    2323README 
    24 share/DUMMY 
    2524t/00.load.t 
    2625t/01.base.t 
     
    2928t/spelling.t 
    3029t/test.yaml 
     30share/cidr.yaml 
  • lang/perl/Net-CIDR-MobileJP/tags/0.10/Makefile.PL

    r4908 r4919  
    33use lib qw(lib); 
    44use inc::Module::Install; 
    5 use YAML; 
    65use File::Spec; 
    76 
    87sub GenYAML { 
     8    eval "require YAML"; 
     9    if ($@) { 
     10        print "YAML.pm not found. please run net-cidr-mobilejp-scraper.pl manualy\n"; 
     11        return; 
     12    } 
     13 
    914    open(my $fh, '>', File::Spec->catfile('share', 'cidr.yaml')) or die "can't open file"; 
    1015    require Net::CIDR::MobileJP::Scraper; 
     
    1823requires 'HTTP::MobileAgent'    => 0; 
    1924requires 'Net::CIDR::Lite'      => 0; 
    20 requires 'UNIVERSAL::require'   => 0; 
    2125requires 'YAML'                 => 0; 
    2226requires 'version'              => 0; 
    2327requires 'File::ShareDir'       => 0; 
    24 requires 'WWW::MobileCarrierJP' => 0; 
     28 
     29build_requires 'WWW::MobileCarrierJP' => 0; 
    2530 
    2631install_share; 
  • lang/perl/Net-CIDR-MobileJP/tags/0.10/lib/Net/CIDR/MobileJP.pm

    r4908 r4919  
    66use Net::CIDR::Lite; 
    77use File::ShareDir (); 
    8 our $VERSION = '0.0.9'; 
     8our $VERSION = '0.10'; 
    99 
    1010sub new { 
  • lang/perl/Net-CIDR-MobileJP/tags/0.10/lib/Net/CIDR/MobileJP/Scraper.pm

    r4908 r4919  
    22use strict; 
    33use warnings; 
    4 use UNIVERSAL::require; 
    54use WWW::MobileCarrierJP::DoCoMo::CIDR; 
     5use WWW::MobileCarrierJP::EZWeb::CIDR; 
     6use WWW::MobileCarrierJP::AirHPhone::CIDR; 
     7use WWW::MobileCarrierJP::ThirdForce::CIDR; 
    68 
    79my $short_name_for = +{ 
     
    2022    for my $carrier (qw/DoCoMo EZWeb AirHPhone ThirdForce/) { 
    2123        my $class = "WWW::MobileCarrierJP::${carrier}::CIDR"; 
    22         $class->use or die $@; 
    2324        my $dat = $class->scrape; 
    2425        $result->{$short_name_for->{$carrier}} = [map { "$_->{ip}$_->{subnetmask}" } @$dat];