From: Peter Rabbitson Date: Fri, 24 Oct 2014 18:00:03 +0000 (+0200) Subject: These are already pre-required by the OptDeps check X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b09652f78cc177d2fe8fdc17c9c3cddb432c7e6b;p=dbsrgits%2FDBIx-Class.git These are already pre-required by the OptDeps check --- diff --git a/lib/DBIx/Class/Optional/Dependencies.pm b/lib/DBIx/Class/Optional/Dependencies.pm index 27d3817..3b133ec 100644 --- a/lib/DBIx/Class/Optional/Dependencies.pm +++ b/lib/DBIx/Class/Optional/Dependencies.pm @@ -51,6 +51,7 @@ my $datetime_basic = { }; my $id_shortener = { + 'Digest::MD5' => '0', 'Math::BigInt' => '1.80', 'Math::Base36' => '0.07', }; diff --git a/lib/DBIx/Class/SQLMaker/Oracle.pm b/lib/DBIx/Class/SQLMaker/Oracle.pm index 7f42855..3cad115 100644 --- a/lib/DBIx/Class/SQLMaker/Oracle.pm +++ b/lib/DBIx/Class/SQLMaker/Oracle.pm @@ -145,9 +145,6 @@ sub _shorten_identifier { @keywords = $to_shorten unless @keywords; # get a base36 md5 of the identifier - require Digest::MD5; - require Math::BigInt; - require Math::Base36; my $b36sum = Math::Base36::encode_base36( Math::BigInt->from_hex ( '0x' . Digest::MD5::md5_hex ($to_shorten)