in reply to Need help with Tree::Nary
Your function doesn't have an explicit return so the return value is value returnd by the last statement, which is print , which returns true on success.
Therefore, put a return 0; into the last line of your printsub subroutine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Need help with Tree::Nary
by ido50 (Scribe) on Apr 26, 2004 at 12:53 UTC |