From e33f0451710616b1d4be59fbfc5cef9fa5f2c13c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 9 Aug 2017 14:53:40 +1200 Subject: Use `not` rather than ! Take advantage of its very low precedence --- checkem | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'checkem') 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} } }, -- cgit v1.2.3