Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
when I try running the following code using the Tree::Nary module.Use of uninitialized value in string ne at /usr/local/share/perl/5.10. +1/Tree/Nary.pm line 1050. Use of uninitialized value in string ne at /usr/local/share/perl/5.10. +1/Tree/Nary.pm line 1050. Use of uninitialized value in string ne at /usr/local/share/perl/5.10. +1/Tree/Nary.pm line 1050. Use of uninitialized value in string ne at /usr/local/share/perl/5.10. +1/Tree/Nary.pm line 1050.
Sorry if I'm making a super-newbie mistake. Any ideas?#!/usr/bin/perl -w use Tree::Nary; use strict; my $testtree = Tree::Nary->new; my $nodeone = $testtree->insert_data($testtree,1); my $nodetwo = $testtree->insert_data($nodeone,2); my $nodethree = $testtree->insert_data($nodetwo,3); my $foundnode = $testtree->find($testtree,$Tree::Nary::PRE_ORDER,$Tree +::Nary::TRAVERSE_ALL,3);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tree::Nary Question
by BrowserUk (Patriarch) on Mar 08, 2011 at 19:17 UTC | |
|
Re: Tree::Nary Question
by toolic (Bishop) on Mar 08, 2011 at 19:38 UTC | |
by Anonymous Monk on Mar 08, 2011 at 20:40 UTC | |
by ikegami (Patriarch) on Mar 08, 2011 at 20:52 UTC | |
by Dandello (Monk) on Mar 08, 2011 at 22:04 UTC | |
by ikegami (Patriarch) on Mar 09, 2011 at 00:19 UTC | |
by Dandello (Monk) on Mar 09, 2011 at 02:02 UTC | |
| |
|
Re: Tree::Nary Question
by jellisii2 (Hermit) on Mar 11, 2011 at 13:28 UTC |