blob: 9be2a81b89843b60e11093d3e6e81819c8e03650 (
plain) (
tree)
|
|
The callsite() function returns the callsite (a number) one level up
from where it was called. See the tests for an example. It's useful
for functions that need to uniquely know where they were called, such
as Every::every() (see devel/p5-Every).
WWW: http://search.cpan.org/dist/Devel-Callsite/
|