diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-06-25 22:10:36 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2010-06-25 22:10:36 +1000 |
commit | 1db4d19556a36b5a8e8604c1e7656999ebc7732b (patch) | |
tree | 17c7bac46aea9938c486e71a821a6aae0fe2777d /pp.c | |
parent | 8af710ebc7fee929ae47793d5a0cce5362af52db (diff) | |
download | perl-1db4d19556a36b5a8e8604c1e7656999ebc7732b.tar.gz |
RT 75902: Add prototypes for tie() and untie() to allow overloading
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -429,6 +429,14 @@ PP(pp_prototype) ret = newSVpvs_flags("\\[@%]", SVs_TEMP); goto set; } + if (code == -KEY_tied || code == -KEY_untie) { + ret = newSVpvs_flags("\\[$@%*]", SVs_TEMP); + goto set; + } + if (code == -KEY_tie) { + ret = newSVpvs_flags("\\[$@%*]$@", SVs_TEMP); + goto set; + } if (code == -KEY_readpipe) { s = "CORE::backtick"; } |