Permalink
Browse files

Minor fixes to pass perlcritic severity 5

  • Loading branch information...
1 parent 15db896 commit fba7d0681892f101cd9fae7b1ca18717f5c63571 @schwern schwern committed Feb 26, 2010
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
@@ -47,7 +47,7 @@ pager = $PAGER
# We're going to be doing this a lot
[-Modules::ProhibitMultiplePackages]
-
+[-Modules::RequireFilenameMatchesPackage]
###
### Configure policies
View
@@ -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
@@ -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];

0 comments on commit fba7d06

Please sign in to comment.