Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fixes to pass perlcritic severity 5

  • Loading branch information...
commit fba7d0681892f101cd9fae7b1ca18717f5c63571 1 parent 15db896
@schwern schwern authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  .perlcriticrc
  2. +1 −0  lib/perl5i.pm
  3. +1 −1  lib/perl5i/0.pm
View
2  .perlcriticrc
@@ -47,7 +47,7 @@ pager = $PAGER
# We're going to be doing this a lot
[-Modules::ProhibitMultiplePackages]
-
+[-Modules::RequireFilenameMatchesPackage]
###
### Configure policies
View
1  lib/perl5i.pm
@@ -5,6 +5,7 @@ package perl5i;
# Please patch that #
######################################
+use strict;
use perl5i::VERSION; our $VERSION = perl5i::VERSION->VERSION;
my $Latest = perl5i::VERSION->latest;
View
2  lib/perl5i/0.pm
@@ -105,7 +105,7 @@ sub import {
sub unimport { $^H{perl5i} = 0 }
-sub utf8_open(*;$@) {
+sub utf8_open(*;$@) { ## no critic (Subroutines::ProhibitSubroutinePrototypes)
my $ret;
if( @_ == 1 ) {
$ret = CORE::open $_[0];
Please sign in to comment.
Something went wrong with that request. Please try again.