From 12ea65a9d437779352fecd959c25b0353e886e8b Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 26 Jun 2010 15:49:14 +0200 Subject: [PATCH] no warnings for missing mtime --- lib/MojoFacets/Data.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MojoFacets/Data.pm b/lib/MojoFacets/Data.pm index 337c8c3..4e842ed 100644 --- a/lib/MojoFacets/Data.pm +++ b/lib/MojoFacets/Data.pm @@ -48,6 +48,7 @@ sub index { } }, $data_dir); + no warnings qw(uninitialized); # mtime @files = sort { $loaded->{$b}->{mtime} <=> $loaded->{$a}->{mtime} || lc $a cmp lc $b } @files, grep { defined $loaded->{$_}->{generated} } keys %$loaded; my $size; -- 2.20.1