diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-11-02 04:54:52 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-11-02 04:54:52 +0000 |
commit | d5fc3e7087d5aeade68cb64da300c8b07e550cc2 (patch) | |
tree | cbe1dd2f28eb572d6a724b6ef68b30cb0112815f /t | |
parent | dcda55fce16d4bfd5fd692594c1b771b8c7e87d8 (diff) | |
download | perl-d5fc3e7087d5aeade68cb64da300c8b07e550cc2.tar.gz |
Lowercase barewords considered harmful to your health.
p4raw-id: //depot/perl@25949
Diffstat (limited to 't')
-rwxr-xr-x | t/io/fs.t | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |