Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: recursive anonymous subroutines

by Daryn (Sexton)
on Apr 06, 2006 at 21:08 UTC ( #541737=note: print w/replies, xml ) Need Help??


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)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://541737]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2016-12-10 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.