This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "Use $^S instead of caller in splain"
authorFather Chrysostomos <sprout@cpan.org>
Sun, 29 Jul 2012 20:25:50 +0000 (13:25 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 29 Jul 2012 20:25:50 +0000 (13:25 -0700)
commitec087511b22a0ebd4a71b36d9f3bd3241226819e
tree5ed696bd4db0f38ae309343a605e7004df3b9712
parentea9f761d76a41be44034395476e008bd0b8e2923
Revert "Use $^S instead of caller in splain"

This reverts commit 019070c31184a4deb57cb85f7e597a789c6c5b54.

I misunderstood $^S, and thought I could simplify the code.  Contrary
to what perlvar says, $^S is undefined not only during compilation of
an eval or module, but also during compilation of the main program.
lib/diagnostics.pm