diff options
author | David Mitchell <davem@iabyn.com> | 2010-05-04 14:37:04 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-05-04 14:45:54 +0100 |
commit | 191ad7eff570fc96c93993e4358f83e2033365d6 (patch) | |
tree | 84d1be60e8b381f8d501df4ebfdff755bea613f9 /mg.c | |
parent | 5afa72af5aa99c40932771ad390abf5ba229611b (diff) | |
download | perl-191ad7eff570fc96c93993e4358f83e2033365d6.tar.gz |
make 'local $tied' untied
When localising a tied scalar, don't make the scalar tied
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -179,6 +179,7 @@ S_is_container_magic(const MAGIC *mg) case PERL_MAGIC_rhash: case PERL_MAGIC_symtab: case PERL_MAGIC_tied: /* treat as value, so 'local @tied' isn't tied */ + case PERL_MAGIC_tiedscalar: /* so 'local $scalar' isn't tied */ return 0; default: return 1; |