This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123103] Just set SVf_READONLY on magic vars
authorFather Chrysostomos <sprout@cpan.org>
Tue, 4 Nov 2014 04:12:29 +0000 (20:12 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 4 Nov 2014 04:16:53 +0000 (20:16 -0800)
commit8c995aba0072b817ab8b2419eefed8447f6ea3aa
treeec4a0aa153535bca72d850c730fc56c9592f8938
parent1d5686ec7b423f88ee27ac6dfd9a6de27e442e2e
[perl #123103] Just set SVf_READONLY on magic vars

a623f8939 was arguably a little too eager.  It’s purpose is to protect
vars whose modification can causes hangs and crashes.  I don’t believe
that is the case for any magic vars.
gv.c
t/lib/universal.t