diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-07-15 20:13:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-07-15 20:13:22 +0000 |
commit | 8ec39683b49638de946aa56f02c841b5548b7f95 (patch) | |
tree | ba2b7207240d320b6b74795500da7bd83759b3e6 /ext/PerlIO | |
parent | 2dfaf5d7c0ee501e219e1e29a78023eaad716e1b (diff) | |
download | perl-8ec39683b49638de946aa56f02c841b5548b7f95.tar.gz |
Clarify the PerlIO::scalar docs (suggested by Elizabeth
Mattijsen.)
p4raw-id: //depot/perl@17560
Diffstat (limited to 'ext/PerlIO')
-rw-r--r-- | ext/PerlIO/scalar/scalar.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/PerlIO/scalar/scalar.pm b/ext/PerlIO/scalar/scalar.pm index d75d3706d7..bda30c6ed5 100644 --- a/ext/PerlIO/scalar/scalar.pm +++ b/ext/PerlIO/scalar/scalar.pm @@ -11,7 +11,13 @@ PerlIO::scalar - support module for in-memory IO. =head1 SYNOPSIS - open($fh,"<...",\$scalar); + open($fh,"<",\$scalar); + open($fh,">",\$scalar); + +or + + open($fh,"<:scalar",\$scalar); + open($fh,">:scalar",\$scalar); =head1 DESCRIPTION |