--- a/check_printer/check_printer
+++ b/check_printer/check_printer
@@ -40,7 +40,6 @@ if ($OS =~ m/^\wBSD/){
 	use lib "/usr/local/nagios/libexec";
 }
 
-use Data::Dumper;
 use Getopt::Long;
 use Pod::Usage;
 
@@ -109,6 +108,7 @@ foreach(@vars){
 }
 
 if ($debug){
+        use Data::Dumper;
 	print Dumper(\@values);
 }
 my %finvalues;
