in reply to Re^2: How to de-reference a coderef?
in thread How to de-reference a coderef?
It may not be big but it certainly is clever!
To those kind people who pointed out that:
(a)I could execute the sub without knowing its name - I knew that
(b)That it might not have a name - in my case I knew it had a name but not what the name was.
My problem was that the coderef was being passed in from somewhere else but I needed to get at the subroutine name, not to execute it but to print for debug, logging, etc.
As usual, perlmonks has excelled itself for speed and quality of response ...
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How to de-reference a coderef?
by revdiablo (Prior) on Dec 09, 2004 at 17:51 UTC | |
by merlyn (Sage) on Dec 09, 2004 at 18:02 UTC | |
by Anonymous Monk on Dec 09, 2004 at 20:50 UTC | |
by merlyn (Sage) on Dec 10, 2004 at 00:06 UTC | |
Re^4: How to de-reference a coderef?
by ikegami (Patriarch) on Dec 09, 2004 at 17:37 UTC |
In Section
Seekers of Perl Wisdom