This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clarify the PerlIO::scalar docs (suggested by Elizabeth
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 15 Jul 2002 20:13:22 +0000 (20:13 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 15 Jul 2002 20:13:22 +0000 (20:13 +0000)
Mattijsen.)

p4raw-id: //depot/perl@17560

ext/PerlIO/scalar/scalar.pm

index d75d370..bda30c6 100644 (file)
@@ -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