Code

contrib/collection3: Fix two minor issues.
authorFlorian Forster <octo@noris.net>
Fri, 13 Mar 2009 15:20:36 +0000 (16:20 +0100)
committerFlorian Forster <octo@noris.net>
Fri, 13 Mar 2009 15:20:36 +0000 (16:20 +0100)
contrib/collection3/bin/index.cgi
contrib/collection3/lib/Collectd/Graph/Type/TableSize.pm

index 54d410288eb5be977262ecea5a9fa11d723ef8eb..ba5b48a0937b8c42bd2557142fbe33565ab156c8 100755 (executable)
@@ -20,6 +20,7 @@ use warnings;
 use lib ('../lib');
 use utf8;
 
+use Carp (qw(cluck confess));
 use FindBin ('$RealBin');
 use CGI (':cgi');
 use CGI::Carp ('fatalsToBrowser');
index 495f42a0213c47fc19607ca53078d51c8ae12da2..5ad8ae0f0e57f0922bd87c5d0f9009404b8e48b9 100644 (file)
@@ -82,7 +82,7 @@ sub _group_files
   my $obj = shift;
   my $data = [];
   my @files;
-  my $last_values
+  my $last_values;
 
   $last_values = $obj->getLastValues ();