Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How to de-reference a coderef?

by Anonymous Monk
on Dec 09, 2004 at 15:09 UTC ( #413567=note: print w/ replies, xml ) Need Help??


in reply to How to de-reference a coderef?

No, if only for the fact it doesn't have to have a name:

my $code_ref = sub {print "Hello, $_[0]\n"};
Or it might have multiple names. foo_bar might have been imported from another package (or exported to another one).


Comment on Re: How to de-reference a coderef?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2015-07-07 19:45 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 (93 votes), past polls