This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In B, use typeglob aliasing instead of subref to typeglob assignment.
authorNicholas Clark <nick@ccl4.org>
Sun, 20 Mar 2011 10:03:15 +0000 (10:03 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 20 Mar 2011 10:03:15 +0000 (10:03 +0000)
commit88ecb8a6b9eca675d383c8a0292e9706cb2870d1
tree5dafb9ac71c0930532ee1e2351ce796dd77af9b4
parent658a9f31e43dcb2b52fd873b87444968c94594fa
In B, use typeglob aliasing instead of subref to typeglob assignment.

Typeglob aliasing saves just about 1.25K, because fewer internal structures are
created. In the general case the behaviour of the two differs, but as the
only package variables of these names are subroutines, and we are within our
own namespace, there is no difference here.
ext/B/B.pm