Even better.
The Devel::Peek::CvGV() method is a little vague since the man page mentions that it returns "one of" the globs associated with a subroutine reference. I'm not sure what others might exist, but this would certainly imply that there might be more than one.
The Sub::Identify module is based on B, which seems like it's a little more appropriate for my use. Plus, it's a little more flexible in exactly what I get back.
Thanks!
In reply to Re^2: find out method name from the reference
by taghi
in thread find out method name from the reference
by perlfan99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |