From: Peter Rabbitson Date: Thu, 7 Aug 2014 03:05:39 +0000 (+0200) Subject: Ensure the TempExtlib actuall exists X-Git-Tag: v0.082800~79 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c1ce337f0f1c6a35d33edbeeb10fecce76812008;p=dbsrgits%2FDBIx-Class.git Ensure the TempExtlib actuall exists --- diff --git a/lib/DBIx/Class/_Util.pm b/lib/DBIx/Class/_Util.pm index 35f8ad0..9f984d2 100644 --- a/lib/DBIx/Class/_Util.pm +++ b/lib/DBIx/Class/_Util.pm @@ -29,6 +29,9 @@ BEGIN { File::Spec->catdir( (File::Spec->splitpath(__FILE__))[1], '_TempExtlib' ) ) =~ /^(.*)$/; # screw you, taint mode + die "TempExtlib $HERE does not seem to exist - perhaps you need to run `perl Makefile.PL` in the DBIC checkout?\n" + unless -d $HERE; + unshift @INC, $HERE; }