Red_Dragon has asked for the wisdom of the Perl Monks concerning the following question:

Knowedgeable Sirs,

I was using TIME::JulianDay with ActivePerl-5.8.3.809, I have since installed ActivePerl-5.10.1.1007. The PPM GUI displays all modules (compatible with the release I have installed) that can be loaded, but TIME::JulianDay is not among them.

I was wondering what module I could use in its place, that is functionally comparable and acceptable to the new version of Perl.

Thank you.

Replies are listed 'Best First'.
Re: Time::JulianDay Replacement Question
by Anonymous Monk on Jul 08, 2010 at 19:28 UTC
Re: Time::JulianDay Replacement Question
by ikegami (Patriarch) on Jul 08, 2010 at 21:35 UTC

    It's probably not available via ppm because it can't be generated automatically because it fails its tests on Win32. The failures appear to be expected and should disappear if you set the environment as indicated in the error message, so you should be able to install it from source:

    set TZ=PST8PDT cpan Time::JulianDay

    cpan should install any tool it needs. If not, you can get Visual Studio Express for free. (Click on "Visual C++ 2010 Express".)

Re: Time::JulianDay Replacement Question
by Marshall (Canon) on Jul 12, 2010 at 19:35 UTC
    I looked on my Active State Perl 5.10 system and I have DateTime-Calendar-Julian. Since I didn't build it from "scratch", I got a pre-built module from somewhere. In ppm GUI version go to Edit | Preferences and add u of winnipeg to the repository list if that doesn't work add more. Sometimes not all .ppd's are on the Active State site.