Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 avoiding work at the Monastery: (5)
As of 2024-04-22 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found