From: Jarkko Hietaniemi Date: Wed, 17 Apr 2002 12:43:07 +0000 (+0000) Subject: Add just a little bit more explanation to PerlIO::encoding. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2dc05cb3282201fede2c9e308d34d135c6e7e723;p=p5sagit%2Fp5-mst-13.2.git Add just a little bit more explanation to PerlIO::encoding. p4raw-id: //depot/perl@15967 --- diff --git a/ext/PerlIO/encoding/encoding.pm b/ext/PerlIO/encoding/encoding.pm index b29373e..63df000 100644 --- a/ext/PerlIO/encoding/encoding.pm +++ b/ext/PerlIO/encoding/encoding.pm @@ -12,10 +12,19 @@ PerlIO::encoding - encoding layer =head1 SYNOPSIS - open($fh,"<...",\$scalar); + open($fh, "<", \$scalar); + open($fh, ">", \$scalar); + open($fh, ">>", \$scalar); + + open($fh, "<...", \$scalar); # for example open($fh, "<:crlf", \$scalar); + open($fh, ">...", \$scalar); # for example open($fh, ">:utf8", \$scalar); + open($fh, ">>..", \$scalar); =head1 DESCRIPTION +Open scalars for "in memory" input and output. The scalars will +behave as if they were files. + =cut