Exclude lex sub package name from (caller $n)[3] blead
authorFather Chrysostomos <sprout@cpan.org>
Tue, 16 Sep 2014 05:27:05 +0000 (22:27 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 16 Sep 2014 05:32:33 +0000 (22:32 -0700)
commita5f4774196bcd82b1f59014c5973ad9610ca913f
tree83afd3595d67624f25c9668f52fbeaf65e89e814
parent1d6bb9ae033c9dd42ee935e1458d658d0cca9183
Exclude lex sub package name from (caller $n)[3]

Commit ae77754ae caused it to start including the package name.  Pre-
viously, lexical subs were reported as ‘(unknown)’.

Now we have more expected output:

$ ./perl -Ilib -XMfeature=:all -e 'my sub x{warn +(caller 0)[3]} x'
x at -e line 1.
pp_ctl.c
t/op/lexsub.t