Use {List,Sub}::Util instead of List::MoreUtils and Sub::Name
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 27 Jan 2015 19:03:29 +0000 (19:03 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 1 Apr 2015 18:09:04 +0000 (19:09 +0100)
commitecf22f0ae0e0f639c0fc8dad9529a66b9374bfbd
tree5ee5ccfd8de27b37a38661db94eb2e489438ab25
parent208bdf790f56fad2b950be62c4336b0b6f9be6ca
Use {List,Sub}::Util instead of List::MoreUtils and Sub::Name

That means bumping the dependency on List::Util to 1.33, which means
people on perl < 5.20 will have to upgrade anyway, so we might as well
use Sub::Util (added in 1.40) instead of Sub::Name as well.

Nick the apply, firstidx and uniq functions from List::MoreUtils::PP
into DBIx::Class::Schema::Loader::Utils to avoid depending on it.
16 files changed:
Changes
Makefile.PL
lib/DBIx/Class/Schema/Loader.pm
lib/DBIx/Class/Schema/Loader/Base.pm
lib/DBIx/Class/Schema/Loader/DBI.pm
lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
lib/DBIx/Class/Schema/Loader/DBI/Informix.pm
lib/DBIx/Class/Schema/Loader/DBI/MSSQL.pm
lib/DBIx/Class/Schema/Loader/DBI/SQLAnywhere.pm
lib/DBIx/Class/Schema/Loader/DBI/Sybase.pm
lib/DBIx/Class/Schema/Loader/DBI/mysql.pm
lib/DBIx/Class/Schema/Loader/RelBuilder.pm
lib/DBIx/Class/Schema/Loader/Utils.pm
maint/travis-ci_scripts/30_before_script.bash
t/lib/dbixcsl_common_tests.pm
t/lib/dbixcsl_dumper_tests.pm