From 2ce64696ee310efa4fd2ab1e0db39fb5c15500d3 Mon Sep 17 00:00:00 2001 From: Jim Cromie Date: Thu, 6 May 2004 10:37:56 -0600 Subject: Re: stdio still supported? Message-Id: <409ABE44.8060307@divsol.com> Update B::Concise tests to skip stuff requiring the "open to a scalar" feature of Perlio is it isn't available. Also note this caveat in perlfunc.pod p4raw-id: //depot/perl@22801 --- pod/perlfunc.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pod') diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index b2c67763f5..23b841844f 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2908,7 +2908,9 @@ 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: +Since v5.8.0, perl has built using PerlIO by default. Unless you've +changed this (ie Configure -Uuseperlio), you can open file handles to +"in memory" files held in Perl scalars via: open($fh, '>', \$variable) || .. @@ -2971,6 +2973,8 @@ Examples: } } +See L for detailed info on PerlIO. + You may also, in the Bourne shell tradition, specify an EXPR beginning with C<< '>&' >>, in which case the rest of the string is interpreted as the name of a filehandle (or file descriptor, if numeric) to be -- cgit v1.2.1