This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make defined(${'$'}) return true
authorFather Chrysostomos <sprout@cpan.org>
Mon, 22 Aug 2011 03:43:21 +0000 (20:43 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 22 Aug 2011 03:43:21 +0000 (20:43 -0700)
commitf8326b3e75b86d985f87404e11ed018bc037a3af
tree87a2ebc7d1d66ad05beaa703b1df1e50b8f5322f
parentea3b834e87e81ac3f0144ea0c26617a0ddb5d361
Make defined(${'$'}) return true

Commit 0e219455 made $$ into a magical variable that is not created
on startup.

Usually perl pretends that built-in vars created on the fly have
always existed.  But commit 0e219455 did not add $$ to the list of
such variables in is_gv_magical_sv.  So defined ${'$'} started return-
ing false.
gv.c