diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-28 21:21:16 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-28 21:21:16 +0000 |
commit | d4ede91ce64eb3ddd64daea7c7434c33963c2e15 (patch) | |
tree | 04fd2cb16179526214640b88c7eea4fd8015f163 /pp.c | |
parent | df0003d4dd97bb27e464c2adb8c54893f719ec3c (diff) | |
parent | aa34f1896a2ee367bc51453b669f7c047ad1b32d (diff) | |
download | perl-d4ede91ce64eb3ddd64daea7c7434c33963c2e15.tar.gz |
integrate cfgperl into mainline
p4raw-id: //depot/perl@2113
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2469,6 +2469,13 @@ PP(pp_quotemeta) *d++ = *s++; } } + else { + while (len--) { + if (!isALNUM(*s)) + *d++ = '\\'; + *d++ = *s++; + } + } *d = '\0'; SvCUR_set(TARG, d - SvPVX(TARG)); (void)SvPOK_only(TARG); |