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:

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.
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:

yum install perl-TimeDate

Once installed you should no longer receive this error.

Learning Perl (Paperback)

By (author): Randal L. Schwartz, brian d foy, Tom Phoenix


List Price: $39.99 USD
New From: $21.82 USD In Stock
Used from: $11.10 USD In Stock


List Price: $39.99 USD
New From: $5.22 USD In Stock
Used from: $2.62 USD In Stock

Share