in reply to Re^2: Identify the package a subroutine is being called from
in thread Identify the package a subroutine is being called from
$package = caller; @info = caller; # -> ($package, $file, $line) $package = caller($i); @extra_info = caller($i); # -> ($pack, $file, $line, $sub, $hasargs, ...)
|
|---|