Re: A question about arrays

2008-10-16 Thread Larry Wall
On Thu, Oct 16, 2008 at 02:56:28PM +1100, Timothy S. Nelson wrote: > Hi all. I'm working on the code for trees that I keep talking about, > and I have code that somewhat resembles the following: > > role Tree::Node does Array { > has Tree::Node @!children handles ; > } > > The

A question about arrays

2008-10-15 Thread Timothy S. Nelson
Hi all. I'm working on the code for trees that I keep talking about, and I have code that somewhat resembles the following: roleTree::Node does Array { has Tree::Node @!children handles ; } The intent of this code is that, if you treat the Tree::Node as an array, you're operatin