X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FNode.pm;fp=lib%2FZOOM%2FIRSpy%2FNode.pm;h=711d76b348658da9e032095b361509c04da9ae36;hb=465d9f18e3a20bb13028fdd05c7808421d7e93b2;hp=eaf61a29f46a3c4b68a6f792c928dc03daa6cf9a;hpb=0bcb285f8e0cd1ddaf10c5304b73c3e9a1886889;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Node.pm b/lib/ZOOM/IRSpy/Node.pm index eaf61a2..711d76b 100644 --- a/lib/ZOOM/IRSpy/Node.pm +++ b/lib/ZOOM/IRSpy/Node.pm @@ -1,4 +1,4 @@ -# $Id: Node.pm,v 1.3 2006-10-11 14:34:21 mike Exp $ +# $Id: Node.pm,v 1.4 2006-10-11 16:35:43 mike Exp $ package ZOOM::IRSpy::Node; @@ -159,7 +159,8 @@ sub select { my @sub = $this->subnodes(); if ($address eq "") { return $this; - } elsif (my($head, $tail) = $address =~ /(.*):(.*)/) { + } elsif (my($head, $tail) = $address =~ /(.*?):(.*)/) { + print "*** testing head='$head' tail='$tail'\n"; return $sub[$head]->select($tail); } else { return $sub[$address];