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


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

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.