summaryrefslogtreecommitdiff
path: root/bin/japan.pl
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2010-12-27 00:04:45 +0000
committercvs2git <cvs2git>2010-12-27 00:04:45 +0000
commitc82d349f864e6bd9f96fd1156903bc1f7193a203 (patch)
treee117a87533656110b6acd56fc0ca64289892a9f5 /bin/japan.pl
parent74e058c8a010ef6feb539248a550d0bb169c1e94 (diff)
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'bin/japan.pl')
-rwxr-xr-xbin/japan.pl32
1 files changed, 0 insertions, 32 deletions
diff --git a/bin/japan.pl b/bin/japan.pl
deleted file mode 100755
index 14e44e4..0000000
--- a/bin/japan.pl
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-use FS::UID qw( adminsuidsetup );
-use FS::Record qw( qsearch );
-use FS::cust_main_county;
-
-adminsuidsetup shift;
-
-my $country = 'JP';
-
-foreach my $cust_main_county (
- qsearch('cust_main_county', { 'country' => $country } )
-) {
-
- if ( $cust_main_county->state =~ /\[([\w ]+)\]\s*$/ ) {
- $cust_main_county->state($1);
- my $error = $cust_main_county->replace;
- die $error if $error;
- }
-
-}
-
-
-#use Locale::SubCountry;
-#
-##my $state = 'Tôkyô [Tokyo]';
-#my $state = 'Tottori';
-#
-#my $lsc = new Locale::SubCountry 'JP';
-#
-#print $lsc->code($state)."\n";
-