in reply to Re: Name of caller if aliased?
in thread Name of caller if aliased?

Hi

Don't wanna install Sub::Name now but I doubt this really works cause you are renaming the original sub.

Try to call func again and it should show the last name assigned.

Anyway thanks, I was asking for an easy way, I'll rather stick with generating different closures for each symbol now. :)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

Replies are listed 'Best First'.
Re^3: Name of caller if aliased?
by Mr. Muskrat (Canon) on Feb 25, 2015 at 23:04 UTC

    D'oh. You're absolutely right but I did warn you that I had done minimal testing. :)