in reply to Re^4: How can I add 1 hour to the current time
in thread How can I add 1 hour to the current time

I must have misread the question. It didn't sound anything like asking for help installing DateTime.

In my system PPM, there is no package in "DateTime"

ppm? So you're using ActivePerl? ActiveState's repo carries DateTime for my version. What's the output of perl -v?

But in this package there is no MakeFile.pl.

You mean Makefile.PL? It has Build.PL. You also seem to have missed the fact that it has installation instructions in INSTALL.

Hence only i have go to alternative method for finding the current local time in London.

Thank god you don't own a car. Replacing the entire car every time the tires get worn down would get expensive.

Replies are listed 'Best First'.
Re^6: How can I add 1 hour to the current time
by sureshrps (Novice) on Aug 20, 2011 at 09:29 UTC
    Yes. I am using ActivePerl version 5.8.8 build 817. Usually we run Makefile.PL when we download perl module from CPAN. but in this case, this package contains "Build.PL". What can i do for install the DateTime module? Suresh

      ow, 5.8 is rather old now. Specifically, both 5.8 and 5.10 are no longer supported by the Perl developers. (I don't know ActiveState's policy, though.) Are you tied to that version? You'll probably have fewer problems if you upgraded your Perl.

      Anyway, to install a module using Module::Build,

      perl Build.PL Build Build test Build install

      If you do it manually like this, though, you'll have to install the prereqs yourself too.