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

the whole point is not to name the beast. I like the idea of a $thingy :
(sub {... $thingy->(...) ... )->(args);
would suit me just fine. Oh well. I can live without it.

Thanks again.

Replies are listed 'Best First'.
Re^4: recursive anonymous subroutines (Solution: Sub::Recursive)
by Anonymous Monk on Apr 08, 2006 at 21:55 UTC
    It's been done.
    use Sub::Recursive; recursive { ... $REC->(...) ... }->(args)