support alternate line endings
authorRafael Kitover <rkitover@cpan.org>
Mon, 25 Jul 2011 13:02:55 +0000 (09:02 -0400)
committerRafael Kitover <rkitover@cpan.org>
Mon, 25 Jul 2011 13:05:37 +0000 (09:05 -0400)
commitfcf328c7653af502233df3b9a692f38c36c681ec
tree204f254464e70a4052bdf5ef7a6bbb29bda6144f
parent9ef345a5c67a5e95220ac24c9fe8bee512348ba9
support alternate line endings

Adds a utility method slurp_file to ::Utils for reading files in UTF-8
and converting the CRLFs or LFs inside to the platform \n. Changes all
uses of File::Slurp::read_file to slurp_file and changes some regexes to
match \r? at line ends.
Changes
lib/DBIx/Class/Schema/Loader/Base.pm
lib/DBIx/Class/Schema/Loader/RelBuilder.pm
lib/DBIx/Class/Schema/Loader/Utils.pm
t/10_03pg_common.t
t/10_05ora_common.t
t/lib/dbixcsl_common_tests.pm