From d35c434796944de9bc26502c69f605a6cc553f11 Mon Sep 17 00:00:00 2001 From: takadonet Date: Mon, 20 Dec 2010 09:51:18 -0600 Subject: [PATCH] was testing and forgot to remove my stupid case. --- lib/Tree/Simple/Visitor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Tree/Simple/Visitor.pm b/lib/Tree/Simple/Visitor.pm index e31b98f..7b57b1f 100644 --- a/lib/Tree/Simple/Visitor.pm +++ b/lib/Tree/Simple/Visitor.pm @@ -20,7 +20,7 @@ multi method new(){ } multi method new(Code $func) { - self.bless(*, depth => 'asdf',filter_fcn => $func, include_trunk=>Bool::True); + self.bless(*, depth => 0,filter_fcn => $func, include_trunk=>Bool::True); } #check to see if $depth is a integer or RECURSIVE or CHILDREN_ONLY