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

Re: Is it possible to use a scalar to call a subroutine?

by originalgeek (Initiate)
on May 06, 2010 at 17:10 UTC ( [id://838762]=note: print w/replies, xml ) Need Help??


in reply to Is it possible to use a scalar to call a subroutine?

Try: my $sub = \&do_this;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found