From c2ddc5a6a4613995ffcbd88aeb9e9abfb1bfcbf3 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sun, 19 Jul 2015 23:34:42 +1000 Subject: [PATCH] * fix variable name --- lib/LDV/Imgbin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LDV/Imgbin.pm b/lib/LDV/Imgbin.pm index 60e384c..741520c 100644 --- a/lib/LDV/Imgbin.pm +++ b/lib/LDV/Imgbin.pm @@ -157,7 +157,7 @@ sub prune { opendir(my $DH, $root) or die("opendir: $!\n"); my @files = grep { m/\d+\.json/oi } readdir($DH); - my @times = map { s/\.json//oi } @items; + my @times = map { s/\.json//oi } @files; closedir($DH); my $now = time();