*~
maint/.Generated_Pod
examples/Schema/db
+
+lib/DBIx/Class/_TempExtlib
package DBIx::Class::StartupCheck;
-use strict;
-use warnings;
-
1;
__END__
package # hide from PAUSE
DBIx::Class::_Util;
+use DBIx::Class::StartupCheck; # load es early as we can, usually a noop
+
use warnings;
use strict;
--- /dev/null
+#!/bin/bash
+
+/usr/bin/ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"
lib/DBIx/Class/DB.pm
lib/DBIx/Class/CDBICompat/
lib/DBIx/Class/CDBICompat.pm
+ lib/DBIx/Class/_TempExtlib/
),
# skip the ::Storage:: family for now
qw(
wanted => sub {
-f $_ or return;
+ $_ =~ m|lib/DBIx/Class/_TempExtlib| and return;
+
# can't just `require $fn`, as we need %INC to be
# populated properly
my ($mod) = $_ =~ /^ lib [\/\\] (.+) \.pm $/x
my $worker = sub {
my $fn = shift;
- if (my @offenders = grep { $_ !~ m{DBIx/Class/(?:_Util|Carp)\.pm} } grep { $_ =~ /(^|\/)DBI/ } keys %INC) {
+ if (my @offenders = grep { $_ !~ m{DBIx/Class/(?:_Util|Carp|StartupCheck)\.pm} } grep { $_ =~ /(^|\/)DBI/ } keys %INC) {
die "Wtf - DBI* modules present in %INC: @offenders";
}
/]
},
+ 'DBIx::Class::_TempExtlib*' => { skip => 1 },
+
'DBIx::Class::Admin::*' => { skip => 1 },
'DBIx::Class::ClassResolver::PassThrough' => { skip => 1 },
'DBIx::Class::Componentised' => { skip => 1 },
return unless -f $fn;
return unless $fn =~ / \. (?: pm | pod ) $ /ix;
+ return if $fn =~ qr{\Qlib/DBIx/Class/_TempExtlib/};
my $data = slurp_bytes $fn;
t/lib/ANFANG.pm # no stictures by design (load speed sensitive)
|
lib/DBIx/Class/Optional/Dependencies.pm # no stictures by design (load speed sensitive)
+ |
+ lib/DBIx/Class/StartupCheck.pm # no stictures by design (load speed sensitive)
+ |
+ lib/DBIx/Class/_TempExtlib/.+
)$}x;
my $f = $_;
find( {
wanted => sub {
-f $_ or return;
+ $_ =~ m|lib/DBIx/Class/_TempExtlib| and return;
s/\.pm$// or return;
s/^ (?: lib | blib . (?:lib|arch) ) . //x;
push @modules, join ('::', File::Spec->splitdir($_));
use Config;
SKIP: {
+ skip 'Lean load pattern testing makes no sense with TempExtlib', 1
+ if grep { $_ =~ /TempExtlib/ } @INC;
+
skip 'Lean load pattern testing unsafe with $ENV{PERL5OPT}', 1
if $ENV{PERL5OPT};