This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi: PL_sv_yes and kin are read-only
authorKarl Williamson <khw@cpan.org>
Wed, 25 Nov 2020 13:54:37 +0000 (06:54 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 25 Nov 2020 13:59:58 +0000 (06:59 -0700)
intrpvar.h

index 67ff94c..b11607b 100644 (file)
@@ -186,15 +186,16 @@ PERLVAR(I, comppad,       PAD *)          /* storage for lexically scoped temporaries */
 /*
 =for apidoc_section $SV
 =for apidoc Amn|SV|PL_sv_undef
-This is the C<undef> SV.  Always refer to this as C<&PL_sv_undef>.
+This is the C<undef> SV.  It is readonly.  Always refer to this as
+C<&PL_sv_undef>.
 
 =for apidoc Amn|SV|PL_sv_no
-This is the C<false> SV.  See C<L</PL_sv_yes>>.  Always refer to this as
-C<&PL_sv_no>.
+This is the C<false> SV.  It is readonly.  See C<L</PL_sv_yes>>.  Always refer
+to this as C<&PL_sv_no>.
 
 =for apidoc Amn|SV|PL_sv_yes
-This is the C<true> SV.  See C<L</PL_sv_no>>.  Always refer to this as
-C<&PL_sv_yes>.
+This is the C<true> SV.  It is readonly.  See C<L</PL_sv_no>>.  Always refer to
+this as C<&PL_sv_yes>.
 
 =for apidoc Amn|SV|PL_sv_zero
 This readonly SV has a zero numeric value and a C<"0"> string value. It's