Can’t locate Date/Format.pm in @INC

The Perl error below was received when running vlogger on CentOS 5.2. To resolve install the perl-TimeDate package using the Yellow Dog Updater as explained below.

Can’t Locate Date/Format.pm in @INC Error:

bash

  1. Can't locate Date/Format.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/sbin/vlogger line 147.
  2. BEGIN failed--compilation aborted at /usr/sbin/vlogger line 147.

To resolve just install the perl-TimeDate package which installs the Date/Format.pm Perl module via YUM.

Install perl-TimeDate Via YUM On CentOS Linux:

text

  1. yum install perl-TimeDate

Once installed you should no longer receive this error.

Learning Perl (Paperback)


List Price: $39.99 USD
New From: $21.04 USD In Stock
Used from: $6.34 USD In Stock

Ubuntu: Powerful Hacks and Customizations (Paperback)


List Price: $39.99
New From: $6.39 USD In Stock
Used from: $0.01 USD In Stock

Share