From: Simon Cozens Date: Mon, 15 Jan 2001 19:35:54 +0000 (+0000) Subject: API Variable documentation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c155e47c72dddfc9198933377d5aa8edb497853c;p=p5sagit%2Fp5-mst-13.2.git API Variable documentation Message-ID: <20010115193554.A9919@pembro26.pmb.ox.ac.uk> p4raw-id: //depot/perl@8447 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index f5596e2..e676431 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1486,6 +1486,15 @@ The C variable which corresponds to Perl's $^W warning variable. =for hackers Found in file intrpvar.h +=item PL_last_in_gv + +The GV which was last used for a filehandle input operation. (C<< >>) + + GV* PL_last_in_gv + +=for hackers +Found in file thrdvar.h + =item PL_modglobal C is a general purpose, interpreter global HV for use by @@ -1511,6 +1520,24 @@ C macro. =for hackers Found in file thrdvar.h +=item PL_ofs_sv + +The output field separator - C<$,> in Perl space. + + SV* PL_ofs_sv + +=for hackers +Found in file thrdvar.h + +=item PL_rs + +The input record separator - C<$/> in Perl space. + + SV* PL_rs + +=for hackers +Found in file thrdvar.h + =item PL_sv_no This is the C SV. See C. Always refer to this as @@ -2369,19 +2396,19 @@ false, defined or undefined. Does not handle 'get' magic. =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 -in the C enum. Test these flags with the C macro. +Returns the type of the SV. See C. + + svtype SvTYPE(SV* sv) =for hackers Found in file sv.h -=item SvTYPE - -Returns the type of the SV. See C. +=item svtype - svtype SvTYPE(SV* sv) +An enum of flags for Perl types. These are found in the file B +in the C enum. Test these flags with the C macro. =for hackers Found in file sv.h diff --git a/thrdvar.h b/thrdvar.h index 7f591d9..e0fe105 100644 --- a/thrdvar.h +++ b/thrdvar.h @@ -82,6 +82,23 @@ PERLVAR(Ttimesbuf, struct tms) PERLVAR(Ttainted, bool) /* using variables controlled by $< */ PERLVAR(Tcurpm, PMOP *) /* what to do \ interps in REs from */ PERLVAR(Tnrs, SV *) + +/* +=for apidoc Amn|SV*|PL_rs + +The input record separator - C<$/> in Perl space. + +=for apidoc Amn|GV*|PL_last_in_gv + +The GV which was last used for a filehandle input operation. (C<< >>) + +=for apidoc Amn|SV*|PL_ofs_sv + +The output field separator - C<$,> in Perl space. + +=cut +*/ + PERLVAR(Trs, SV *) /* input record separator $/ */ PERLVAR(Tlast_in_gv, GV *) /* GV used in last */ PERLVAR(Tofs_sv, SV *) /* output field separator $, */