Skip to content

Commit

Permalink
fix perlcritic failure - make bareword filehandle lexical
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehh committed Jan 18, 2011
1 parent 004f53d commit 8f579d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/src/embed/api.t
Expand Up @@ -124,8 +124,8 @@ OUTPUT

my (undef, $temp_pir) = create_tempfile( SUFFIX => '.pir', UNLINK => 1 );
my (undef, $temp_pbc) = create_tempfile( SUFFIX => '.pir', UNLINK => 1 );
open PIR_FILE, ">", $temp_pir;
print PIR_FILE <<'PIR_CODE';
open my $PIR_FILE, ">", $temp_pir;
print $PIR_FILE <<'PIR_CODE';
.sub main :main
.param pmc args
say "executed"
Expand Down

0 comments on commit 8f579d3

Please sign in to comment.