Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How to call a sub-routine ref

by blue_cowdawg (Monsignor)
on Oct 19, 2012 at 18:34 UTC ( #1000012=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    | stuff before
    ...
    my $sref = \&foo 
    
    | stuff after
    
  2. or download this
    
    | later
    ...
    &($sref)( arg1....argn);
    
    |
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
            print "This is foo.\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2015-05-23 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (466 votes), past polls