Skip to content

Commit

Permalink
remove unnecessary "no strict refs"
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Nov 21, 2013
1 parent 0f1f4cb commit 3b92377
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/IPC/Run.pm
Expand Up @@ -1234,7 +1234,6 @@ sub _empty($) { ! ( defined $_[0] && length $_[0] ) }
## 'safe' versions of otherwise fun things to do. See also IPC::Run::Win32Helper.
sub _close {
confess 'undef' unless defined $_[0];
no strict 'refs';
my $fd = $_[0] =~ /^\d+$/ ? $_[0] : fileno $_[0];
my $r = POSIX::close $fd;
$r = $r ? '' : " ERROR $!";
Expand Down

0 comments on commit 3b92377

Please sign in to comment.