}
}
-my $tmpfile = 'overload.tmp';
+my $tmpfile = tempfile();
foreach my $operator ('print', 'syswrite', 'syswrite len', 'syswrite off',
'syswrite len off') {
is ($line, "\351", "$operator $layer");
close $fh or die $!;
- unlink $tmpfile or die $!;
}
}
my $p = substr $text, 0, 1;
is ($p, "\x{3075}");
}
-
-END {
- 1 while -f $tmpfile and unlink $tmpfile || die "unlink '$tmpfile': $!";
-}