'course it is. go to cpan, look for 'tree'. skip past the 'Btree', that's not what you're looking for. in fact, go way down to Tree::MultiNode, and the other one's that are around there. these'll do fairly well, although i didn't see just a plain and simple binary tree (but how wants plain anyway?). and remember, you can do anything computably possible on a turing machine ^_^ "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
If you want to try to code your own binary tree read the manual pages on references (perlref) and data structures cookbook (perldsc). References are definitely the way to handle it. Tracy Dryden
tracy@bydisn.com
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.