Browse Source

= fix map {}

master
Alex 'AdUser' Z 9 years ago
parent
commit
7b7382ff65
  1. 2
      lib/LDV/Imgbin.pm

2
lib/LDV/Imgbin.pm

@ -157,7 +157,7 @@ sub prune {
opendir(my $DH, $root) opendir(my $DH, $root)
or die("opendir: $!\n"); or die("opendir: $!\n");
my @files = grep { m/\d+\.json/oi } readdir($DH); my @files = grep { m/\d+\.json/oi } readdir($DH);
my @times = map { s/\.json//oi } @files; my @times = map { s/\.json//oi; $_ } @files;
closedir($DH); closedir($DH);
my $now = time(); my $now = time();

Loading…
Cancel
Save