Date::Calc 为什么用不了呢?
Date::Calc 为什么用不了呢?
[root@localhost GetSellerTransactions]# . type.sh
2008-12-05T07:00:00.000Z
2008-12-05 is the file directoy name
2008-12-05.1 is the filename
2008-12-05.1 is the filename, open to write
Total is:1 after parse the XML response.
result/2008-12-05.1
Can't locate loadable object for module Date::Calc in @INC (@INC contains: /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.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /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.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 .) at extract.pl line 14
Compilation failed in require at extract.pl line 14.
BEGIN failed--compilation aborted at extract.pl line 14.
Can't locate loadable object for module Date::Calc in @INC (@INC contains: /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.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /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.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 .) at insert.pl line 17
Compilation failed in require at insert.pl line 17.
BEGIN failed--compilation aborted at insert.pl line 17.
There is no Chinese second chance offer available.
[root@localhost AddSecondChanceItem]# cd /
[root@localhost /]# find . -name "Calc.*"
find: WARNING: Hard link count is wrong for ./proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
./usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/Date/Calc.pm
./usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/Date/Calc.pod
./usr/lib/perl5/5.8.6/i386-linux-thread-multi/Date/Calc.pm
./usr/lib/perl5/5.8.6/i386-linux-thread-multi/Date/Calc.pod
./usr/lib/perl5/5.8.6/Math/BigInt/Calc.pm
[root@localhost /]#
系统中是有Calc.pm的。