diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-09 03:15:06 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-09 03:15:06 +0000 |
commit | b8e3bfaf565265c3b1c2de26f555b1f4f05daacc (patch) | |
tree | f6f16db74370ebad7418310eca9a41f3e9ca5c1a /pp_sys.c | |
parent | 249cec02fed5443387beac307c539cba65b49a75 (diff) | |
download | perl-b8e3bfaf565265c3b1c2de26f555b1f4f05daacc.tar.gz |
Fix 'anydbm.t' - if the gv is passed 1st call to inherited
TIEHASH works, but 2nd call (after db is closed, attempt
to reopen) tries to AUTOLOAD TIEHASH rather than using
cached value.
p4raw-id: //depot/ansiperl@216
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -503,6 +503,7 @@ PP(pp_binmode) } + PP(pp_tie) { djSP; @@ -556,7 +557,7 @@ PP(pp_tie) CATCH_SET(oldcatch); #else ENTER; - perl_call_sv((SV*)gv, G_SCALAR); + perl_call_sv((SV*)GvCV(gv), G_SCALAR); SPAGAIN; #endif sv = TOPs; |