http://www.perlmonks.org?node_id=541809


in reply to Re^2: recursive anonymous subroutines
in thread recursive anonymous subroutines

I'd write a little very scary, very hairy XS code. I don't know which of three or four approaches would work best, but I'd start by poking around PL_curcop.

Replies are listed 'Best First'.
Re^4: recursive anonymous subroutines
by DrHyde (Prior) on Apr 10, 2006 at 09:41 UTC
    Surely the *best* approach is to not write the scary hairy XS code and just accept that you'll have to use a variable. It's not like variables kill babies or anything.