Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2014-09-30 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (379 votes), past polls