diff options
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | pod/perlfunc.pod | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -564,6 +564,7 @@ ext/PerlIO/scalar/scalar.xs PerlIO layer for scalars ext/PerlIO/t/encoding.t See if PerlIO encoding conversion works ext/PerlIO/t/fail.t See if bad layers fail ext/PerlIO/t/fallback.t See if PerlIO fallbacks work +ext/PerlIO/t/open.t See if PerlIO certain special opens work ext/PerlIO/t/scalar.t See if PerlIO::scalar works ext/PerlIO/t/via.t See if PerlIO::via works ext/PerlIO/via/Makefile.PL PerlIO layer for layers in perl diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 3ad23c51d3..8be8c8cae0 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2860,7 +2860,10 @@ argument being C<undef>: open(TMP, "+>", undef) or die ... -opens a filehandle to an anonymous temporary file. +opens a filehandle to an anonymous temporary file. Also using "+<" +works for symmetry, but you really should consider writing something +to the temporary file first. You will need to seek() to do the +reading. File handles can be opened to "in memory" files held in Perl scalars via: |