replaced Date::Calc with Date::Manip
This commit is contained in:
parent
13002676db
commit
a7e9ffb440
9 changed files with 10190 additions and 65 deletions
|
|
@ -28,7 +28,6 @@ use Cache::FileCache ();
|
|||
use CGI (); CGI->compile(':all');
|
||||
use CGI::Carp ();
|
||||
use CGI::Util ();
|
||||
use Date::Calc ();
|
||||
use Digest::MD5 ();
|
||||
eval "use Image::Magick ();"; # eval, may not be installed
|
||||
use File::Copy ();
|
||||
|
|
@ -56,6 +55,7 @@ DBI->install_driver("mysql"); # Change to match your database driver.
|
|||
#use HTML::Parser (); # commented because it is causing problems with attachments
|
||||
#use HTML::TagFilter (); # commented because it is causing problems with attachments
|
||||
use Parse::PlainConfig ();
|
||||
use Date::Manip ();
|
||||
use Tie::CPHash ();
|
||||
use Tie::IxHash ();
|
||||
use Tree::DAG_Node ();
|
||||
|
|
|
|||
|
|
@ -187,19 +187,6 @@ if (eval { require Net::SMTP }) {
|
|||
}
|
||||
}
|
||||
|
||||
print "Date::Calc module ........................ ";
|
||||
if (eval { require Date::Calc }) {
|
||||
print "OK\n";
|
||||
} else {
|
||||
if ($< == 0 && $os eq "Linuxish") {
|
||||
print "Attempting to install...\n";
|
||||
CPAN::Shell->install("Date::Calc");
|
||||
} else {
|
||||
print "Please install.\n";
|
||||
$prereq = 0;
|
||||
}
|
||||
}
|
||||
|
||||
print "Cache::Cache module ...................... ";
|
||||
if (eval { require Cache::Cache }) {
|
||||
print "OK\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue