diff options
author | abs <abs> | 2008-07-14 09:24:50 +0000 |
---|---|---|
committer | abs <abs> | 2008-07-14 09:24:50 +0000 |
commit | 0e59ef812631977364a6692a764852438964b49a (patch) | |
tree | 5c4bd54a54628500276ad435d852a5ea3c11fead /devel/p5-Sub-Install | |
parent | e3cbe00dfca64757d16523675097f6ab09021f4d (diff) | |
download | pkgsrc-0e59ef812631977364a6692a764852438964b49a.tar.gz |
Added devel/p5-Devel-Caller version 2.03
This 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.
Diffstat (limited to 'devel/p5-Sub-Install')
0 files changed, 0 insertions, 0 deletions