in reply to Displaying a variable's name and value in a sub
Instead of worrying about the variable name, I would suggest that you consider using caller so that you know where the show function was called from. The package name, file name, and line number are going to tell you a lot more debugging information than the name of a variable which is likely to be ambiguous anyway.
- Miller
|
|---|