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)
or die("opendir: $!\n");
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);
my $now = time();

Loading…
Cancel
Save