summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Guy <mjtg@cam.ac.uk>2001-06-06 20:58:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-06 20:58:53 +0000
commit899e16d05655bc0e6756c741b6155de313fa3bd4 (patch)
tree25f9978e0c913f2cda46f73116cd4040e0995654
parentee556d553a6eff7ecdc9231bcb7bcb56f26130e7 (diff)
downloadperl-899e16d05655bc0e6756c741b6155de313fa3bd4.tar.gz
Re: Bug in perlguts documentation?
Reply-To: mjtg@cam.ac.uk Message-Id: <E157fiS-0006Q7-00@draco.cus.cam.ac.uk> p4raw-id: //depot/perl@10460
-rw-r--r--pod/perlguts.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod
index 44f3640183..3fea294545 100644
--- a/pod/perlguts.pod
+++ b/pod/perlguts.pod
@@ -1047,7 +1047,7 @@ to do this.
tie = newRV_noinc((SV*)newHV());
stash = gv_stashpv("MyTie", TRUE);
sv_bless(tie, stash);
- hv_magic(hash, tie, PERL_MAGIC_tied);
+ hv_magic(hash, (GV*)tie, PERL_MAGIC_tied);
RETVAL = newRV_noinc(hash);
OUTPUT:
RETVAL