in reply to problem prototyping a self-recursing function

IMHO the biggest problem is that you believe that prototypes do something useful for you in Perl. They do not. Stop using prototypes and that problem, along with others, goes away.
  • Comment on Re (tilly) 1: problem prototyping a self-recursing function