develooper Front page | perl.perl5.porters | Postings from January 2001

[PATCH] API Variable documentation

From:
Simon Cozens
Date:
January 15, 2001 11:35
Subject:
[PATCH] API Variable documentation
Message ID:
20010115193554.A9919@pembro26.pmb.ox.ac.uk
Things that came up during writing. There'll be more.

--- thrdvar.h~	Mon Jan 15 19:31:31 2001
+++ thrdvar.h	Mon Jan 15 19:35:00 2001
@@ -82,6 +82,23 @@
 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<< <FH> >>)
+
+=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 <FH> */
 PERLVAR(Tofs_sv,	SV *)		/* output field separator $, */

-- 
"Consider a spherical bear, in simple harmonic motion..."
		-- Professor in the UCB physics department



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About