aboutsummaryrefslogtreecommitdiff
path: root/checkem
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-08-09 14:53:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-08-09 14:53:40 +1200
commite33f0451710616b1d4be59fbfc5cef9fa5f2c13c (patch)
treeb788dcfc8d8b8229d76039907c0ac1a71db2efd0 /checkem
parentAdd license (diff)
downloadcheckem-e33f0451710616b1d4be59fbfc5cef9fa5f2c13c.tar.gz
checkem-e33f0451710616b1d4be59fbfc5cef9fa5f2c13c.zip
Use `not` rather than !
Take advantage of its very low precedence
Diffstat (limited to 'checkem')
-rwxr-xr-xcheckem4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkem b/checkem
index 2b0599a..6bacda1 100755
--- a/checkem
+++ b/checkem
@@ -58,10 +58,10 @@ find {
or return;
# Check it's a regular file
- return if !( $st{mode} & S_IFREG );
+ return if not $st{mode} & S_IFREG;
# Check its size is non-zero
- return if !$st{size};
+ return if not $st{size};
# Push the filename and the stats into this size's bucket
return push @{ $sizes{ $st{size} } },