slaniel has asked for the wisdom of the Perl Monks concerning the following question:

I've got a function that takes a function argument, and I'd like to be able to extract the name of the function argument. Something like this must be possible, because caller() can extract function names from the call stack. Now I just want to extract the name of a function argument.