in reply to Re: treemap
in thread treemap

I saw it as a way of getting the public interface to be prototyped, but the private (recursive) interface to have that extra $refs parameter.

And then I was thinking there should be a way to do it with a coderef alias, but the prototype is hooked into the coderef, not the symbolname, so I stopped thinking about that. {grin}

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
(tye)Re: treemap
by tye (Sage) on Feb 26, 2001 at 21:42 UTC

    I'd probably just have the one entry point and call it recursively via &treemap( $code, $$node, $refs ), where the & should disable the prototype.

            - tye (but my friends call me "Tye")