This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
diagnostics.pm: Eliminate $WHOAMI
authorFather Chrysostomos <sprout@cpan.org>
Sat, 8 Feb 2014 21:10:59 +0000 (13:10 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 9 Feb 2014 01:34:25 +0000 (17:34 -0800)
commitadf7680562287218c9f721ec3eb5028bc143e31b
tree5b042d911ce456bd06673557104cdb49b5690e68
parent4a8eb7ce51a91409fad49ada0f4bee3416a3d4c1
diagnostics.pm: Eliminate $WHOAMI

This variable only held the package name.  __PACKAGE__ is faster,
as it allows constant folding.

diagnostics.pm just happens to be older than __PACKAGE__, which was
introduced as recently as 1997 (68dc074516).
lib/diagnostics.pm