Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The reason for removing the return statement is that you are not supposed to use that outside of functions (eval, do).
Just end with: and it will work. As for the pointer logic, sorry. No energy to go through it. It looked like a mess FWIW. I would just use recursion for this problem. (OK, so you take a performance hit.) In reply to Re (tilly) 3: What Happened...(perils of porting from c)
by tilly
|
|