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 ( [id://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}->();

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found