Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: What is this doing, and why is this a good method of doing it?

by nothingmuch (Priest)
on Jul 28, 2005 at 10:01 UTC ( [id://478897]=note: print w/replies, xml ) Need Help??


in reply to What is this doing, and why is this a good method of doing it?

Does this capture the essence?
my @x = somefunction(); my @xs = map { { name => $_, sub => sub { ... }, } } @x; for (@xs) { no strict 'refs'; *{ $_->{name} } = $_->{sub}; }
-nuffin
zz zZ Z Z #!perl
  • Comment on Re: What is this doing, and why is this a good method of doing it?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://478897]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found