Fixup fromcvs/togit conversion
[pkgsrcv2.git] / devel / p5-Devel-Caller / DESCR
1 This provides a 'meatier' version of caller:
2
3 caller_cv($level)
4
5     caller_cv gives you the coderef of the subroutine being invoked
6     at the call frame indicated by the value of $level
7
8 caller_args($level)
9
10     Returns the arguments passed into the caller at level $level
11
12 caller_vars( $level, $names ) =item called_with($level, $names)
13
14     called_with returns a list of references to the original
15     arguments to the subroutine at $level. if $names is true, the
16     names of the variables will be returned instead
17
18     constants are returned as undef in both cases
19
20 called_as_method($level)
21
22     called_as_method returns true if the subroutine at $level was
23     called as a method.