Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: effects of ampersand and non ampersand when referencing a sub name

by jwkrahn (Monsignor)
on Dec 20, 2012 at 08:49 UTC ( #1009703=note: print w/replies, xml ) Need Help??


in reply to effects of ampersand and non ampersand when referencing a sub name

\&execute and \execute do two different things.    \&execute passes a code reference to the subroutine threads->create while \execute executes the subroutine execute and passes a reference to the return value.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009703]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-11-20 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?