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

Re^2: How to call a sub-routine ref

by greengaroo (Hermit)
on Oct 19, 2012 at 20:16 UTC ( #1000033=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    &{$hashref->{'key'}}('key');
    
  2. or download this
    $hashref->{'key'}->('key');
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-12-19 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (73 votes), past polls