Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by bradcathey (Prior)
on May 06, 2010 at 18:32 UTC ( #838775=note: print w/replies, xml ) Need Help??


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

Okay, so this falls into the variable-for-a-variable camp. Which is why I stopped trying to this about 6 years ago and started using hashes. Which is basically what a dispatch table is doing.

It seemed like a good idea at first, but now I'm seeing the logic.

—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot
  • Comment on Re^2: Is it possible to use a scalar to call a subroutine?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2017-01-16 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (150 votes). Check out past polls.