Set up gcc environment - 3.3 sub leap_seconds { my $val = shift; if ($val < 723727) { if ($val < 721354) { if ($val < 720259) { if ($val < 719893) { return 9; } else { if ($val < 720075) { return 10; } else { return 11; } } } else { if ($val < 720624) { return 12; } else { if ($val < 720989) { return 13; } else { return 14; } } } } else { if ($val < 722450) { if ($val < 721720) { return 15; } else { if ($val < 722085) { return 16; } else { return 17; } } } else { if ($val < 722815) { return 18; } else { if ($val < 723362) { return 19; } else { return 20; } } } } } else { if ($val < 727380) { if ($val < 725737) { if ($val < 724092) { return 21; } else { if ($val < 724823) { return 22; } else { return 23; } } } else { if ($val < 726468) { return 24; } else { if ($val < 726833) { return 25; } else { return 26; } } } } else { if ($val < 728659) { if ($val < 727745) { return 27; } else { if ($val < 728110) { return 28; } else { return 29; } } } else { if ($val < 729206) { return 30; } else { if ($val < 729755) { return 31; } else { return 32; } } } } } } Checking if your kit is complete... Looks good Writing Makefile for DateTime::Util::DayOfWeek::Locale cp lib/DateTime/Util/DayOfWeek/Locale.pm blib/lib/DateTime/Util/DayOfWeek/Locale.pm Manifying blib/man3/DateTime::Util::DayOfWeek::Locale.3 PERL_DL_NONLAZY=1 /export/home/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00_compile.........1..1 ok 1 - use DateTime::Util::DayOfWeek::Locale; ok t/01_pod.............1..0 # Skip set TEST_POD to enable this test skipped all skipped: set TEST_POD to enable this test t/02_pod_coverage....1..0 # Skip Test::Pod::Coverage 1.04 required skipped all skipped: Test::Pod::Coverage 1.04 required t/03_fr..............1..15 sub leap_seconds { my $val = shift; if ($val < 723727) { if ($val < 721354) { if ($val < 720259) { if ($val < 719893) { return 9; } else { if ($val < 720075) { return 10; } else { return 11; } } } else { if ($val < 720624) { return 12; } else { if ($val < 720989) { return 13; } else { return 14; } } } } else { if ($val < 722450) { if ($val < 721720) { return 15; } else { if ($val < 722085) { return 16; } else { return 17; } } } else { if ($val < 722815) { return 18; } else { if ($val < 723362) { return 19; } else { return 20; } } } } } else { if ($val < 727380) { if ($val < 725737) { if ($val < 724092) { return 21; } else { if ($val < 724823) { return 22; } else { return 23; } } } else { if ($val < 726468) { return 24; } else { if ($val < 726833) { return 25; } else { return 26; } } } } else { if ($val < 728659) { if ($val < 727745) { return 27; } else { if ($val < 728110) { return 28; } else { return 29; } } } else { if ($val < 729206) { return 30; } else { if ($val < 729755) { return 31; } else { return 32; } } } } } } ok 1 - 2006-01-18(mer.) is not lundi ok 2 - 2006-01-18(mer.) is not mardi ok 3 - 2006-01-18(mer.) is mercredi ok 4 - 2006-01-18(mer.) is not jeudi ok 5 - 2006-01-18(mer.) is not vendredi ok 6 - 2006-01-18(mer.) is not samedi ok 7 - 2006-01-18(mer.) is not dimanche ok 8 - 2006-01-19(jeu.) is not mercredi ok 9 - 2007-02-05(lun.) is lundi ok 10 - 2007-02-06(mar.) is mardi ok 11 - 2007-02-07(mer.) is mercredi ok 12 - 2007-02-08(jeu.) is jeudi ok 13 - 2007-02-09(ven.) is vendredi ok 14 - 2007-02-10(sam.) is samedi ok 15 - 2007-02-11(dim.) is dimanche ok t/04_en..............1..15 sub leap_seconds { my $val = shift; if ($val < 723727) { if ($val < 721354) { if ($val < 720259) { if ($val < 719893) { return 9; } else { if ($val < 720075) { return 10; } else { return 11; } } } else { if ($val < 720624) { return 12; } else { if ($val < 720989) { return 13; } else { return 14; } } } } else { if ($val < 722450) { if ($val < 721720) { return 15; } else { if ($val < 722085) { return 16; } else { return 17; } } } else { if ($val < 722815) { return 18; } else { if ($val < 723362) { return 19; } else { return 20; } } } } } else { if ($val < 727380) { if ($val < 725737) { if ($val < 724092) { return 21; } else { if ($val < 724823) { return 22; } else { return 23; } } } else { if ($val < 726468) { return 24; } else { if ($val < 726833) { return 25; } else { return 26; } } } } else { if ($val < 728659) { if ($val < 727745) { return 27; } else { if ($val < 728110) { return 28; } else { return 29; } } } else { if ($val < 729206) { return 30; } else { if ($val < 729755) { return 31; } else { return 32; } } } } } } ok 1 - 2006-01-18(Wed) is not monday ok 2 - 2006-01-18(Wed) is not tuesday ok 3 - 2006-01-18(Wed) is wednesday ok 4 - 2006-01-18(Wed) is not thursday ok 5 - 2006-01-18(Wed) is not friday ok 6 - 2006-01-18(Wed) is not saturday ok 7 - 2006-01-18(Wed) is not sunday ok 8 - 2006-01-19(Thu) is not wednesday ok 9 - 2007-02-05(Mon) is monday ok 10 - 2007-02-06(Tue) is tuesday ok 11 - 2007-02-07(Wed) is wednesday ok 12 - 2007-02-08(Thu) is thursday ok 13 - 2007-02-09(Fri) is friday ok 14 - 2007-02-10(Sat) is saturday ok 15 - 2007-02-11(Sun) is sunday ok t/05_ja..............1..15 sub leap_seconds { my $val = shift; if ($val < 723727) { if ($val < 721354) { if ($val < 720259) { if ($val < 719893) { return 9; } else { if ($val < 720075) { return 10; } else { return 11; } } } else { if ($val < 720624) { return 12; } else { if ($val < 720989) { return 13; } else { return 14; } } } } else { if ($val < 722450) { if ($val < 721720) { return 15; } else { if ($val < 722085) { return 16; } else { return 17; } } } else { if ($val < 722815) { return 18; } else { if ($val < 723362) { return 19; } else { return 20; } } } } } else { if ($val < 727380) { if ($val < 725737) { if ($val < 724092) { return 21; } else { if ($val < 724823) { return 22; } else { return 23; } } } else { if ($val < 726468) { return 24; } else { if ($val < 726833) { return 25; } else { return 26; } } } } else { if ($val < 728659) { if ($val < 727745) { return 27; } else { if ($val < 728110) { return 28; } else { return 29; } } } else { if ($val < 729206) { return 30; } else { if ($val < 729755) { return 31; } else { return 32; } } } } } } ok 1 - 2006-01-18(Wed) is not nitiyoubi ok 2 - 2006-01-18(Wed) is not kayoubi ok 3 - 2006-01-18(Wed) is suiyoubi ok 4 - 2006-01-18(Wed) is not mokuyoubi ok 5 - 2006-01-18(Wed) is not kinyoubi ok 6 - 2006-01-18(Wed) is not doyoubi ok 7 - 2006-01-18(Wed) is not nitiyoubi ok 8 - 2006-01-19(Thu) is not suiyoubi ok 9 - 2007-02-05(Mon) is getsuyoubi ok 10 - 2007-02-06(Tue) is kayoubi ok 11 - 2007-02-07(Wed) is suiyoubi ok 12 - 2007-02-08(Thu) is mokuyoubi ok 13 - 2007-02-09(Fri) is kinyoubi ok 14 - 2007-02-10(Sat) is doyoubi ok 15 - 2007-02-11(Sun) is nitiyoubi ok All tests successful, 2 tests skipped. Files=6, Tests=46, 5 wallclock secs ( 4.66 cusr + 0.23 csys = 4.89 CPU) Installing /export/home/cpanrun/build/5.10.0/html/site/lib/DateTime/Util/DayOfWeek/Locale.html Installing /export/home/cpanrun/build/5.10.0/site/lib/DateTime/Util/DayOfWeek/Locale.pm Installing /export/home/cpanrun/build/5.10.0/site/man/man3/DateTime::Util::DayOfWeek::Locale.3 Appending installation info to /export/home/cpanrun/build/5.10.0/lib/perllocal.pod