This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[patch perlguts.pod] save_item doesn't handle magic
authorStas Bekman <stas@stason.org>
Fri, 13 Feb 2004 20:18:59 +0000 (12:18 -0800)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sun, 15 Feb 2004 11:02:49 +0000 (11:02 +0000)
Message-ID: <402DA1B3.2010608@stason.org>

p4raw-id: //depot/perl@22307

pod/perlguts.pod

index 6fab812..78a1dfc 100644 (file)
@@ -1328,7 +1328,8 @@ Similar to C<save_scalar>, but localize C<@gv> and C<%gv>.
 
 Duplicates the current value of C<SV>, on the exit from the current
 C<ENTER>/C<LEAVE> I<pseudo-block> will restore the value of C<SV>
 
 Duplicates the current value of C<SV>, on the exit from the current
 C<ENTER>/C<LEAVE> I<pseudo-block> will restore the value of C<SV>
-using the stored value.
+using the stored value. It doesn't handle magic. Use C<save_scalar> if
+magic is affected.
 
 =item C<void save_list(SV **sarg, I32 maxsarg)>
 
 
 =item C<void save_list(SV **sarg, I32 maxsarg)>