72568fd500
interpreter context.
6 lines
299 B
Text
6 lines
299 B
Text
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/
|