|Pathologically Eclectic Rubbish Lister|
How to map function name to coderef?by Anonymous Monk
|on Jan 06, 2012 at 23:54 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Oh ye who hold all Perl wisdom!
My Perl foo is sufficient to understand the following:
...which simply outputs upon execution:
Yet, what I would really like is to map a string to the code reference of the function itself -- something similar to the following (syntax is incorrect...):
...which would give similar output as the preceding code.
Those that bear all ye knowledge, what is the syntactic incantation?