diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-28 11:27:46 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-28 11:27:46 +0000 |
commit | a3f914c54a06647534c0855205d45eb950aebdd4 (patch) | |
tree | 8bada15a2dcc58072ddcdefbe9a64796f0017be0 /op.c | |
parent | 60ad88b8fe9480f2f097fca26f4f3a9f83a4f830 (diff) | |
download | perl-a3f914c54a06647534c0855205d45eb950aebdd4.tar.gz |
make $1 et al readonly under threads; make C<undef $1> fail like
C<$1 = undef> does
p4raw-id: //depot/perl@2335
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -570,6 +570,16 @@ find_threadsv(char *name) case '`': case '\'': PL_sawampersand = TRUE; + /* FALL THROUGH */ + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': SvREADONLY_on(sv); /* FALL THROUGH */ |