From: Peter Rabbitson Date: Fri, 24 Jan 2014 07:14:37 +0000 (+0100) Subject: Counter the strictures bullshit with localised bullshit X-Git-Tag: v0.08260~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=59d624cf78c63416f50aceff6391b8b80227e4f5;p=dbsrgits%2FDBIx-Class.git Counter the strictures bullshit with localised bullshit --- diff --git a/lib/DBIx/Class/Storage/BlockRunner.pm b/lib/DBIx/Class/Storage/BlockRunner.pm index 352c76c..8dae0c9 100644 --- a/lib/DBIx/Class/Storage/BlockRunner.pm +++ b/lib/DBIx/Class/Storage/BlockRunner.pm @@ -1,14 +1,21 @@ package # hide from pause until we figure it all out DBIx::Class::Storage::BlockRunner; -use Sub::Quote 'quote_sub'; +use strict; + use DBIx::Class::Exception; use DBIx::Class::Carp; use Context::Preserve 'preserve_context'; use DBIx::Class::_Util 'is_exception'; use Scalar::Util qw(weaken blessed reftype); use Try::Tiny; -use Moo; + +# DO NOT edit away without talking to riba first, he will just put it back +BEGIN { + local $ENV{PERL_STRICTURES_EXTRA} = 0; + require Moo; Moo->import; + require Sub::Quote; Sub::Quote->import('quote_sub'); +} use warnings NONFATAL => 'all'; use namespace::clean;