about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-06-14 04:09:46 +0530
committerAndinus <andinus@nand.sh>2020-06-14 04:09:46 +0530
commit70321ff435a19e146c625a67d4895fad051a82bf (patch)
treeb8b30eb4586cf69b4a301938113038d2c256b093
parent9effa95d10e34bc25b8a8e271ce47896d7f23880 (diff)
downloadara-70321ff435a19e146c625a67d4895fad051a82bf.tar.gz
Use foreach instead of each, remove iterator reset line
Initial commit message was "Remove useless line", that line would feel
bad so I changed it. I think it got left out when I moved from each to
foreach.
-rwxr-xr-xara.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/ara.pl b/ara.pl
index 38b5114..682dfb4 100755
--- a/ara.pl
+++ b/ara.pl
@@ -95,9 +95,8 @@ my %unveil = (
     $cache_dir => "rwc",
 );
 
-# Unveil each path from %unveil.
-keys %unveil;
-# We use sort because otherwise keys is random order everytime.
+# Unveil each path from %unveil. We use sort because otherwise keys is
+# random order everytime.
 foreach my $path ( sort keys %unveil ) {
     unveil( $path, $unveil{$path} )
         or die "Unable to unveil: $!";