Path to this page:
./
devel/p5-Devel-Caller,
Meatier versions of caller
Branch: pkgsrc-2018Q1,
Version: 2.06nb3,
Package name: p5-Devel-Caller-2.06nb3,
Maintainer: pkgsrc-usersThis provides a 'meatier' version of caller:
caller_cv($level)
caller_cv gives you the coderef of the subroutine being invoked
at the call frame indicated by the value of $level
caller_args($level)
Returns the arguments passed into the caller at level $level
caller_vars( $level, $names ) =item called_with($level, $names)
called_with returns a list of references to the original
arguments to the subroutine at $level. if $names is true, the
names of the variables will be returned instead
constants are returned as undef in both cases
called_as_method($level)
called_as_method returns true if the subroutine at $level was
called as a method.
Required to run:[
lang/perl5] [
devel/p5-PadWalker]
Master sites: (Expand)
SHA1: 2a9d5380c863e1ea81fe10b654b7b6c35300c30f
RMD160: 5e99994152eaddb3c8c7d212571eb0bcd1ea5e98
Filesize: 6.387 KB
Version history: (Expand)
- (2018-04-04) Package added to pkgsrc.se, version p5-Devel-Caller-2.06nb3 (created)