Clarify the PerlIO::scalar docs (suggested by Elizabeth
Rafael Garcia-Suarez [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