1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/p5-Devel-Caller/pkg-descr
Cheng-Lung Sung 02f04e930f Add p5-Devel-Caller 0.11, a perl module which is meatier versions of
caller.

PR:		ports/100093
Submitted by:	Ying-Chieh Chen
2006-07-13 01:01:55 +00:00

14 lines
335 B
Plaintext

Devel::Caller - meatier versions of caller
SYNOPSIS
use Devel::Caller qw(caller_cv);
$foo = sub { print "huzzah\n" if $foo == caller_cv(0) };
$foo->(); # prints huzzah
use Devel::Caller qw(called_with);
sub foo { print called_with(0,1); }
foo( my @foo ); # should print '@foo'
WWW: http://search.cpan.org/dist/Devel-Caller/