summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-11-02 04:54:52 +0000
committerSteve Peters <steve@fisharerojo.org>2005-11-02 04:54:52 +0000
commitd5fc3e7087d5aeade68cb64da300c8b07e550cc2 (patch)
treecbe1dd2f28eb572d6a724b6ef68b30cb0112815f /t/io
parentdcda55fce16d4bfd5fd692594c1b771b8c7e87d8 (diff)
downloadperl-d5fc3e7087d5aeade68cb64da300c8b07e550cc2.tar.gz
Lowercase barewords considered harmful to your health.
p4raw-id: //depot/perl@25949
Diffstat (limited to 't/io')
-rwxr-xr-xt/io/fs.t12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index 4dd188e974..ecb014f95f 100755
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -78,10 +78,10 @@ SKIP: {
is((umask(0)&0777), 022, 'umask'),
}
-open(fh,'>x') || die "Can't create x";
-close(fh);
-open(fh,'>a') || die "Can't create a";
-close(fh);
+open(FH,'>x') || die "Can't create x";
+close(FH);
+open(FH,'>a') || die "Can't create a";
+close(FH);
my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
$blksize,$blocks);
@@ -405,8 +405,8 @@ SKIP: {
if $^O eq 'cygwin';
chdir './tmp';
- open(fh,'>x') || die "Can't create x";
- close(fh);
+ open(FH,'>x') || die "Can't create x";
+ close(FH);
rename('x', 'X');
# this works on win32 only, because fs isn't casesensitive