summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-09-15 17:54:04 +0000
committerNicholas Clark <nick@ccl4.org>2007-09-15 17:54:04 +0000
commit00accf8d966ca5ecf8ccbaaebc0752903aa1634e (patch)
tree1d39a91d75b29fc00049cde2ae25709a44323957 /intrpvar.h
parent758ce19401b94bfeb02eb6b79e1ee90153f46da7 (diff)
downloadperl-00accf8d966ca5ecf8ccbaaebc0752903aa1634e.tar.gz
Note the gotcha about newlines in the elements of PL_preambleav.
p4raw-id: //depot/perl@31871
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h
index f572fddf28..a6a4a1c641 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -349,6 +349,10 @@ PERLVAR(Ilastfd, int) /* what to preserve mode on */
PERLVAR(Ioldname, char *) /* what to preserve mode on */
PERLVAR(IArgv, char **) /* stuff to free from do_aexec, vfork safe */
PERLVAR(ICmd, char *) /* stuff to free from do_aexec, vfork safe */
+/* Elements in this array have ';' appended and are injected as a single line
+ into the tokeniser. You can't put any (literal) newlines into any program
+ you stuff in into this array, as the point where it's injected is expecting
+ a single physical line. */
PERLVAR(Ipreambleav, AV *)
PERLVAR(Imess_sv, SV *)
PERLVAR(Iors_sv, SV *) /* output record separator $\ */