The bug breaks installing DBICSL with anything that cares about
META.yml, e.g. Carton.
Revision history for Perl extension DBIx::Class::Schema::Loader
- Fix tests when the path to perl has spaces in it (GH#19)
+ - Inline String::CamelCase::wordsplit() due to RT#123030
0.07048_01 - 2018-02-23
- Convert from Module::Install to ExtUtils::MakeMaker + Distar (GH#17)
'namespace::clean' => '0.23',
'Scope::Guard' => '0.20',
'String::ToIdentifier::EN' => '0.05',
- 'String::CamelCase' => '0.02',
'Sub::Util' => '1.40',
'Try::Tiny' => 0,
# core, but specific versions not available on older perls
use strict;
use warnings;
use Test::More;
-use String::CamelCase 'wordsplit';
use Carp::Clan qw/^DBIx::Class/;
use List::Util 'all';
use namespace::clean;
my $LF = "\x0a";
my $CRLF = "\x0d\x0a";
+# Copied from String::CamelCase because of RT#123030
+sub wordsplit {
+ my $s = shift;
+ split /[_\s]+|\b|(?<![A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])/, $s;
+}
+
sub split_name($;$) {
my ($name, $v) = @_;