summaryrefslogtreecommitdiff
path: root/ext/PerlIO
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-07-15 20:13:22 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-07-15 20:13:22 +0000
commit8ec39683b49638de946aa56f02c841b5548b7f95 (patch)
treeba2b7207240d320b6b74795500da7bd83759b3e6 /ext/PerlIO
parent2dfaf5d7c0ee501e219e1e29a78023eaad716e1b (diff)
downloadperl-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.pm8
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