projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied Mike's nice -d option thing.
[irspy-moved-to-github.git]
/
lib
/
ZOOM
/
IRSpy
/
Node.pm
diff --git
a/lib/ZOOM/IRSpy/Node.pm
b/lib/ZOOM/IRSpy/Node.pm
index
eaf61a2
..
74b5154
100644
(file)
--- 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.5 2006-10-11 16:36:03 mike Exp $
package ZOOM::IRSpy::Node;
package ZOOM::IRSpy::Node;
@@
-159,7
+159,7
@@
sub select {
my @sub = $this->subnodes();
if ($address eq "") {
return $this;
my @sub = $this->subnodes();
if ($address eq "") {
return $this;
- } elsif (my($head, $tail) = $address =~ /(.*):(.*)/) {
+ } elsif (my($head, $tail) = $address =~ /(.*?):(.*)/) {
return $sub[$head]->select($tail);
} else {
return $sub[$address];
return $sub[$head]->select($tail);
} else {
return $sub[$address];