diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-06-12 22:01:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-06-12 22:01:26 +0000 |
commit | e86bb1915fd774005119454bae6bba1a570dd876 (patch) | |
tree | 8053e2b6762e79d0ec935edd013a56d4e67080f1 /t | |
parent | 3a3168fb0c65a23cc61dcac4465cd4c5599a5e39 (diff) | |
parent | 73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6 (diff) | |
download | perl-e86bb1915fd774005119454bae6bba1a570dd876.tar.gz |
Integrate from mainperl.
p4raw-id: //depot/cfgperl@3538
Diffstat (limited to 't')
-rwxr-xr-x | t/io/fs.t | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -142,8 +142,11 @@ else { if (-z "Iofs.tmp") {print "ok 24\n"} else {print "not ok 24\n"} open(FH, ">Iofs.tmp") or die "Can't create Iofs.tmp"; { select FH; $| = 1; select STDOUT } - print FH "helloworld\n"; - truncate FH, 5; + { + use strict; + print FH "helloworld\n"; + truncate FH, 5; + } if ($^O eq 'dos') { close (FH); open (FH, ">>Iofs.tmp") or die "Can't reopen Iofs.tmp"; } |