puneet.keswani has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Perl Script - Can't locate module error
by marto (Cardinal) on May 16, 2012 at 14:39 UTC

    Install the Email::Date::Format module on your production server. Please don't ignore the formatting advice (as previously mentioned). Consider running the same version of Perl on development as you do in production. Note that your production version is 8 years old. Avoid using the system install or Perl. Your operating system uses this for various things. It's fairly simple to install your own (modern) version of perl elsewhere on the system.

      Email::Date::Format module is not there in Dev server but the script seems to be working fine, could there be any other reason for it to not execute in the prod environment.
        A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Perl Script - Can't locate module error
by Anonymous Monk on May 16, 2012 at 14:41 UTC
    Try find and/or locate (but verify) commands; use -M option of perl along with -e (see perlrun); run autobundle (overkill I think); see App::Module::Lister module; etc.
Re: Perl Script - Can't locate module error
by pvaldes (Chaplain) on May 16, 2012 at 21:55 UTC

    cpan> m Email::Date::Format