aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Devel-Callsite/pkg-descr
blob: 54f7a2da26fcdf63e0f61159ac092cb2264ca217 (plain) (blame)
1
2
3
4
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).