Permalink
Browse files

Changed debug to be look at ENV WATSON_DEBUG

Can now use export WATSON_DEBUG=1 or set WATSON_DEBUG=1
to enable/disable debug printing
  • Loading branch information...
1 parent 3d5d69b commit 30f1d2286b850ad41da93060757fa97cee3a8c9b @nhmood committed Nov 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 watson
View
2 watson
@@ -50,7 +50,7 @@ use Data::Dumper;
use Digest::MD5 qw(md5_hex);
# App Config
-my $DEBUG = 0;
+my $DEBUG = $ENV{WATSON_DEBUG};
my $RCNAME = ".watsonrc"; # Change config file name
my $TMPOUT = ".watsonresults"; # Change tmp file name

1 comment on commit 30f1d22

AWESOME!

Please sign in to comment.