5 $runtests=shift(@ARGV);
6 if ( -f "t/testfunc.pl" ) {
7 require "t/testfunc.pl";
10 } elsif ( -f "testfunc.pl" ) {
11 require "testfunc.pl";
15 die "ERROR: cannot find testfunc.pl\n";
19 use Locale::Codes::LangVar;
21 %type = ( "LOCALE_LANGVAR_ALPHA" => LOCALE_LANGVAR_ALPHA,
22 "LOCALE_LANGVAR_NUMERIC" => LOCALE_LANGVAR_NUMERIC,
27 $test[1] = $type{$test[1]}
28 if (@test == 2 && $test[1] && exists $type{$test[1]});
29 return code2langvar(@test);
42 print "code2langvar...\n";
43 test_Func(\&test,$tests,$runtests);
48 # indent-tabs-mode: nil
49 # cperl-indent-level: 3
50 # cperl-continued-statement-offset: 2
51 # cperl-continued-brace-offset: 0
52 # cperl-brace-offset: 0
53 # cperl-brace-imaginary-offset: 0
54 # cperl-label-offset: -2