Skip to content

Commit

Permalink
global filehandle changed to lexical
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Dec 6, 2010
1 parent f6a032f commit 6547dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Module/Build/Base.pm
Expand Up @@ -3506,8 +3506,8 @@ sub ACTION_install {

$self->log_info("For ActivePerl's PPM: touch '$F_perllocal'\n");

open PERLLOCAL, ">>$F_perllocal";
close PERLLOCAL;
open my $perllocal, ">>", $F_perllocal;
close $perllocal;
utime($dt_stamp, $dt_stamp, $F_perllocal);
}
}
Expand Down

0 comments on commit 6547dd8

Please sign in to comment.