Perl-Critic-Policy-BadStrings
view release on metacpan or search on metacpan
lib/File/FindStrings/Boilerplate.pm view on Meta::CPAN
use English;
use Import::Into;
use Smart::Comments;
sub import ( $self, $type = 'script' ) {
### assert: ($type =~ m/^(?:class|role|script)$/ms)
my $target = caller;
strict->import::into($target);
warnings->import::into($target);
autodie->import::into($target);
feature->import::into( $target, ':5.22' );
utf8->import::into($target); # Allow UTF-8 Source
if ( $type eq 'class' ) {
Moose->import::into($target);
Moose::Util::TypeConstraints->import::into($target);
t/data/Boilerplate.txt view on Meta::CPAN
use English;
use Import::Into;
use Smart::Comments;
sub import ( $self, $type = 'script' ) {
### assert: ($type =~ m/^(?:class|role|script)$/ms)
my $target = caller;
strict->import::into($target);
warnings->import::into($target);
autodie->import::into($target);
feature->import::into( $target, ':5.22' );
utf8->import::into($target); # Allow UTF-8 Source
if ( $type eq 'class' ) {
Moose->import::into($target);
Moose::Util::TypeConstraints->import::into($target);
( run in 0.234 second using v1.01-cache-2.11-cpan-299005ec8e3 )