diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-09 14:53:40 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-09 14:53:40 +1200 |
commit | e33f0451710616b1d4be59fbfc5cef9fa5f2c13c (patch) | |
tree | b788dcfc8d8b8229d76039907c0ac1a71db2efd0 | |
parent | Add license (diff) | |
download | checkem-e33f0451710616b1d4be59fbfc5cef9fa5f2c13c.tar.gz checkem-e33f0451710616b1d4be59fbfc5cef9fa5f2c13c.zip |
Use `not` rather than !
Take advantage of its very low precedence
-rwxr-xr-x | checkem | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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} } }, |