diff options
author | franck cuny <franck@lumberjaph.net> | 2011-07-22 16:20:13 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-07-26 13:21:02 +0200 |
commit | da02ed3a8179e3c8545c6fa7b86dc9a63c6008cf (patch) | |
tree | 750656c2c31f95e89a919e69cb094bdfc95d1374 | |
parent | fix wrong test (diff) | |
download | net-http-spore-da02ed3a8179e3c8545c6fa7b86dc9a63c6008cf.tar.gz |
update debug
Signed-off-by: franck cuny <franck@lumberjaph.net>
Diffstat (limited to '')
-rw-r--r-- | lib/Net/HTTP/Spore/Role/Debug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Spore/Role/Debug.pm b/lib/Net/HTTP/Spore/Role/Debug.pm index 18f3412..5aeba83 100644 --- a/lib/Net/HTTP/Spore/Role/Debug.pm +++ b/lib/Net/HTTP/Spore/Role/Debug.pm @@ -19,7 +19,7 @@ sub BUILD { my ($self, $args) = @_; my $trace; - $trace = $args->{trace} && $args->{trace} > 0 ? $args->{trace} : undef; + $trace = $args->{trace} if $args->{trace}; $trace = $ENV{SPORE_TRACE} if defined $ENV{SPORE_TRACE}; if (!defined $trace){ |