http://www.perlmonks.org?node_id=413598


in reply to Re^2: How to de-reference a coderef?
in thread How to de-reference a coderef?

What about other namespaces? What about multiple matches? A sub is a little like an inode on a unix filesystem: it may have several names, or none; and several handles, or none.

Replies are listed 'Best First'.
Re^4: How to de-reference a coderef?
by gellyfish (Monsignor) on Dec 09, 2004 at 16:05 UTC

    ... and probably XS defined subroutines and AUTOLOADed methods and so and so forth. If I had listed all the caveats it would have taken up more space than the code ;-) This was posted not so much as a solution to the OPs question, rather as a riposte to the bald statement that it couldn't be done.

    /J\