mason/.perl-lib/TrivGal.pm: Remove spurious `$e'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 11 Jun 2023 10:06:47 +0000 (11:06 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 11 Jun 2023 10:06:47 +0000 (11:06 +0100)
Must have been a copy-and-paste from below.

mason/.perl-lib/TrivGal.pm

index ea3b47a..8673b75 100644 (file)
@@ -317,7 +317,7 @@ sub listdir ($) {
     if ($item && $comment) { $item->comment($comment); }
     close $f;
   } else {
-    my $st = stat "$path/$e";
+    my $st = stat $path;
     unless ($st->mode&0004) { return ([], [], undef); }
 
     opendir $d, $path;