X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Ft%2Fticket%2Fscrips_batch.t;h=f13881b652fec52a26759de0bbe3eae63a9d796e;hp=f558d3bd430706a6e4ec91fa2e422f03ed2d6710;hb=75162bb14b3e38d66617077843f4dfdcaf09d5c4;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941 diff --git a/rt/t/ticket/scrips_batch.t b/rt/t/ticket/scrips_batch.t index f558d3bd4..f13881b65 100644 --- a/rt/t/ticket/scrips_batch.t +++ b/rt/t/ticket/scrips_batch.t @@ -45,7 +45,7 @@ my $sid; my ($tmp_fh, $tmp_fn) = tempfile(); my $code = <', '$tmp_fn' or die "Couldn't open '$tmp_fn':\$!"; +open( my \$fh, '>', '$tmp_fn' ) or die "Couldn't open '$tmp_fn':\$!"; my \$batch = \$self->TicketObj->TransactionBatch; unless ( \$batch && \@\$batch ) {