Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Calling a hash member

by revdiablo (Prior)
on Dec 13, 2006 at 22:01 UTC ( #589685=note: print w/ replies, xml ) Need Help??


in reply to Re: Calling a hash member
in thread Calling a hash member

That should probably have been:

use ProjectA; my $project = 'ProjectA'; my %ThingsToDo = (firstTask => sub { $project->prepare }); $ThingsToDo{firstTask}->();


Comment on Re^2: Calling a hash member
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-07-30 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls