Show
Ignore:
Timestamp:
01/22/08 07:53:35 (10 months ago)
Author:
tokuhirom
Message:

r5453@skinny (orig r5193): tokuhirom | 2008-01-22 00:30:25 +0900
overwrite the YAML.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Encode-JP-Mobile/trunk/tools/softbank-scrape-name.pl

    r4874 r5227  
    66use YAML; 
    77use FindBin; 
     8use File::Spec::Functions; 
     9use Encode; 
    810 
    9 my $table_file = shift || "$FindBin::Bin/../dat/softbank-table.yaml"; 
     11my $table_file = shift || catfile($FindBin::Bin, qw/.. dat softbank-table.yaml/); 
    1012my $table = YAML::LoadFile($table_file); 
    1113 
     
    2628} 
    2729 
    28 binmode STDOUT, ":utf8"; 
    29 print Dump $table; 
     30YAML::DumpFile($table_file, $table); 
     31