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 cp lib/DateTime/Util/DayOfWeek.pm blib/lib/DateTime/Util/DayOfWeek.pm Manifying blib/man3/DateTime::Util::DayOfWeek.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; 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_methods.........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 All tests successful, 2 tests skipped. Files=4, Tests=16, 2 wallclock secs ( 1.69 cusr + 0.19 csys = 1.88 CPU) Installing /export/home/cpanrun/build/5.10.0/html/site/lib/DateTime/Util/DayOfWeek.html Installing /export/home/cpanrun/build/5.10.0/site/lib/DateTime/Util/DayOfWeek.pm Installing /export/home/cpanrun/build/5.10.0/site/man/man3/DateTime::Util::DayOfWeek.3 Appending installation info to /export/home/cpanrun/build/5.10.0/lib/perllocal.pod