On Wed, Jun 20, 2001 at 03:35:23PM -0400, Richard J. Barbalace wrote:
> ($package, $filename, $line, $subroutine) = caller();
As a minor correction, this is incorrect. The argument-less form of caller
returns only three elements: package, filename, and line.
> So, I guess my questions a
>I have recently used the caller function in a module I was writing.
>
>I think your problem is here:
>
>>13: my $i = 0;
>>14: while (my ($package, $filename, $line, $subroutine) = caller ($i)) {
>
>When you call caller with 0, it returns the curent subrou
Hi.
I've programmed in Perl for several years, but this feels like a
beginner question. I'm trying to understand how the built-in function
"caller" works. The documentation leads me to expect "caller" to do
something other than what it actually does. I'd like to figure out if
I'm simply misund