This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee556d5
)
Re: Bug in perlguts documentation?
author
Mike Guy
<mjtg@cam.ac.uk>
Wed, 6 Jun 2001 20:58:53 +0000
(20:58 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 6 Jun 2001 20:58:53 +0000
(20:58 +0000)
Reply-To: mjtg@cam.ac.uk
Message-Id: <E157fiS-0006Q7-00@draco.cus.cam.ac.uk>
p4raw-id: //depot/perl@10460
pod/perlguts.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlguts.pod
b/pod/perlguts.pod
index
44f3640
..
3fea294
100644
(file)
--- 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