summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-09 17:16:03 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-09 17:16:03 +0000
commitab6cb6eb79f7ad4a85f8c8eac1bc05fcbeb1d4ed (patch)
treeee24bd4a8ca4e27bbaa7188ce333625b3f9c109f /pod
parentf127762ae8ed5af83de18a858019907e3c7f32ea (diff)
parent0b6ed3a08547ebe2996c386f572b6ec40ddf91b9 (diff)
downloadperl-ab6cb6eb79f7ad4a85f8c8eac1bc05fcbeb1d4ed.tar.gz
Integrate mainline (does not build - sv_catpvf issue in dump.c)
p4raw-id: //depot/perlio@9093
Diffstat (limited to 'pod')
-rw-r--r--pod/perlapi.pod14
-rw-r--r--pod/perldata.pod31
-rw-r--r--pod/perlrun.pod1
-rw-r--r--pod/perltoc.pod45
4 files changed, 64 insertions, 27 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index 27d5bd7c02..1cb3a0c1e9 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -2389,19 +2389,19 @@ false, defined or undefined. Does not handle 'get' magic.
=for hackers
Found in file sv.h
-=item SvTYPE
-
-Returns the type of the SV. See C<svtype>.
+=item svtype
- svtype SvTYPE(SV* sv)
+An enum of flags for Perl types. These are found in the file B<sv.h>
+in the C<svtype> enum. Test these flags with the C<SvTYPE> macro.
=for hackers
Found in file sv.h
-=item svtype
+=item SvTYPE
-An enum of flags for Perl types. These are found in the file B<sv.h>
-in the C<svtype> enum. Test these flags with the C<SvTYPE> macro.
+Returns the type of the SV. See C<svtype>.
+
+ svtype SvTYPE(SV* sv)
=for hackers
Found in file sv.h
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 1744ff7fc9..315f716ed8 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -413,20 +413,20 @@ string may be either an identifier (a word), or some quoted text. If
quoted, the type of quotes you use determines the treatment of the
text, just as in regular quoting. An unquoted identifier works like
double quotes. There must be no space between the C<< << >> and
-the identifier. (If you put a space it will be treated as a null
-identifier, which is valid, and matches the first empty line.) The
-terminating string must appear by itself (unquoted and with no
-surrounding whitespace) on the terminating line.
+the identifier, unless the identifier is quoted. (If you put a space it
+will be treated as a null identifier, which is valid, and matches the first
+empty line.) The terminating string must appear by itself (unquoted and
+with no surrounding whitespace) on the terminating line.
print <<EOF;
The price is $Price.
EOF
- print <<"EOF"; # same as above
+ print << "EOF"; # same as above
The price is $Price.
EOF
- print <<`EOC`; # execute commands
+ print << `EOC`; # execute commands
echo hi there
echo lo there
EOC
@@ -437,7 +437,7 @@ surrounding whitespace) on the terminating line.
I said bar.
bar
- myfunc(<<"THIS", 23, <<'THAT');
+ myfunc(<< "THIS", 23, <<'THAT');
Here's a line
or two.
THIS
@@ -478,6 +478,23 @@ you have to write
the other
E
+If the terminating identifier is on the last line of the program, you
+must be sure there is a newline after it; otherwise, Perl will give the
+warning B<Can't find string terminator "END" anywhere before EOF...>.
+
+Additionally, the quoting rules for the identifier are not related to
+Perl's quoting rules -- C<q()>, C<qq()>, and the like are not supported
+in place of C<''> and C<"">, and the only interpolation is for backslashing
+the quoting character:
+
+ print << "abc\"def";
+ testing...
+ abc"def
+
+Finally, quoted strings cannot span multiple lines. The general rule is
+that the identifier must be a string literal. Stick with that, and you
+should be safe.
+
=head2 List value constructors
List values are denoted by separating individual values by commas
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 4a4c957a50..aa2f06d0e2 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -323,6 +323,7 @@ equivalent to B<-Dtls>):
32768 D Cleaning up
65536 S Thread synchronization
131072 T Tokenising
+ 262144 R Include reference counts of dumped variables (eg when using -Ds)
All these flags require B<-DDEBUGGING> when you compile the Perl
executable. See the F<INSTALL> file in the Perl source distribution
diff --git a/pod/perltoc.pod b/pod/perltoc.pod
index ac1049855d..940c3c0132 100644
--- a/pod/perltoc.pod
+++ b/pod/perltoc.pod
@@ -3867,19 +3867,19 @@ newSVpvn, newSVpvn_share, newSVrv, newSVsv, newSVuv, newXS, newXSproto,
Newz, Nullav, Nullch, Nullcv, Nullhv, Nullsv, ORIGMARK, perl_alloc,
perl_construct, perl_destruct, perl_free, perl_parse, perl_run,
PL_modglobal, PL_na, PL_sv_no, PL_sv_undef, PL_sv_yes, POPi, POPl, POPn,
-POPp, POPs, PUSHi, PUSHMARK, PUSHn, PUSHp, PUSHs, PUSHu, PUTBACK, Renew,
-Renewc, require_pv, RETVAL, Safefree, savepv, savepvn, SAVETMPS, SP,
-SPAGAIN, ST, strEQ, strGE, strGT, strLE, strLT, strNE, strnEQ, strnNE,
-StructCopy, SvCUR, SvCUR_set, SvEND, SvGETMAGIC, SvGROW, SvIOK, SvIOKp,
-SvIOK_notUV, SvIOK_off, SvIOK_on, SvIOK_only, SvIOK_only_UV, SvIOK_UV,
-SvIV, SvIVX, SvLEN, SvNIOK, SvNIOKp, SvNIOK_off, SvNOK, SvNOKp, SvNOK_off,
-SvNOK_on, SvNOK_only, SvNV, SvNVX, SvOK, SvOOK, SvPOK, SvPOKp, SvPOK_off,
-SvPOK_on, SvPOK_only, SvPOK_only_UTF8, SvPV, SvPVX, SvPV_force, SvPV_nolen,
-SvREFCNT, SvREFCNT_dec, SvREFCNT_inc, SvROK, SvROK_off, SvROK_on, SvRV,
-SvSETMAGIC, SvSetSV, SvSetSV_nosteal, SvSTASH, SvTAINT, SvTAINTED,
-SvTAINTED_off, SvTAINTED_on, SvTRUE, svtype, SvTYPE, SVt_IV, SVt_NV,
-SVt_PV, SVt_PVAV, SVt_PVCV, SVt_PVHV, SVt_PVMG, SvUOK, SvUPGRADE, SvUTF8,
-SvUTF8_off, SvUTF8_on, SvUV, SvUVX, sv_2mortal, sv_bless, sv_catpv,
+POPp, POPpbytex, POPpx, POPs, PUSHi, PUSHMARK, PUSHn, PUSHp, PUSHs, PUSHu,
+PUTBACK, Renew, Renewc, require_pv, RETVAL, Safefree, savepv, savepvn,
+SAVETMPS, SP, SPAGAIN, ST, strEQ, strGE, strGT, strLE, strLT, strNE,
+strnEQ, strnNE, StructCopy, SvCUR, SvCUR_set, SvEND, SvGETMAGIC, SvGROW,
+SvIOK, SvIOKp, SvIOK_notUV, SvIOK_off, SvIOK_on, SvIOK_only, SvIOK_only_UV,
+SvIOK_UV, SvIV, SvIVX, SvLEN, SvNIOK, SvNIOKp, SvNIOK_off, SvNOK, SvNOKp,
+SvNOK_off, SvNOK_on, SvNOK_only, SvNV, SvNVX, SvOK, SvOOK, SvPOK, SvPOKp,
+SvPOK_off, SvPOK_on, SvPOK_only, SvPOK_only_UTF8, SvPV, SvPVX, SvPV_force,
+SvPV_nolen, SvREFCNT, SvREFCNT_dec, SvREFCNT_inc, SvROK, SvROK_off,
+SvROK_on, SvRV, SvSETMAGIC, SvSetSV, SvSetSV_nosteal, SvSTASH, SvTAINT,
+SvTAINTED, SvTAINTED_off, SvTAINTED_on, SvTRUE, svtype, SvTYPE, SVt_IV,
+SVt_NV, SVt_PV, SVt_PVAV, SVt_PVCV, SVt_PVHV, SVt_PVMG, SvUOK, SvUPGRADE,
+SvUTF8, SvUTF8_off, SvUTF8_on, SvUV, SvUVX, sv_2mortal, sv_bless, sv_catpv,
sv_catpvf, sv_catpvf_mg, sv_catpvn, sv_catpvn_mg, sv_catpv_mg, sv_catsv,
sv_catsv_mg, sv_chop, sv_clear, sv_cmp, sv_cmp_locale, sv_dec,
sv_derived_from, sv_eq, sv_free, sv_gets, sv_grow, sv_inc, sv_insert,
@@ -8213,6 +8213,10 @@ C<vendorprefixexp>, C<version>, C<versiononly>, C<vi>, C<voidflags>
C<xlibpth>, C<xs_apiversion>
+=item y
+
+C<yacc>, C<yaccflags>
+
=item z
C<zcat>, C<zip>
@@ -8655,6 +8659,15 @@ Scheme 1, Scheme 2, Other Schemes
=item Other Encodings of Unicode
+=item Listing available encodings
+
+=item Defining Aliases
+
+As a simple string, As a qr// compiled regular expression, e.g.:, As a code
+reference, e.g.:
+
+=item Defining Encodings
+
=back
=item Encoding and IO
@@ -8702,6 +8715,8 @@ of the Encode extension
=back
+=head2 Encode::Tcl - Tcl encodings
+
=head2 EncodeFormat - the format of encoding tables of the Encode extension
=over 4
@@ -8940,6 +8955,8 @@ canonpath, cflags, manifypods, perl_archive
=back
+perl_archive_after
+
=head2 ExtUtils::MM_OS2 - methods to override UN*X behaviour in
ExtUtils::MakeMaker
@@ -9149,6 +9166,8 @@ xs_o (o)
perl_archive
+perl_archive_after
+
export_list
=over 4