./devel/p5-Devel-Trace, Print out each line before it is executed (like sh -x)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2014Q3, Version: 0.12nb3, Package name: p5-Devel-Trace-0.12nb3, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 3d405f1458695a0c57c44642ea31a92dd437c5c5
RMD160: 773b74d0678ce1e132ba5858264fc0ca953cf7dc
Filesize: 3.093 KB

Version history: (Expand)