I think Perl doesn't track if subroutines were called as methods.
You can root around in the optree and get a pretty good idea, but it's complicated and slow and non-deterministic in a couple of edge cases.
In reply to Re^2: A caller() by any other name
by chromatic
in thread A caller() by any other name
by Bloodnok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |