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
[perl5.git] / ext / PerlIO / scalar / scalar.pm
index d75d370..bda30c6 100644 (file)
@@ -11,7 +11,13 @@ PerlIO::scalar - support module for in-memory IO.
 
 =head1 SYNOPSIS
 
 
 =head1 SYNOPSIS
 
-   open($fh,"<...",\$scalar);
+   open($fh,"<",\$scalar);
+   open($fh,">",\$scalar);
+
+or
+
+   open($fh,"<:scalar",\$scalar);
+   open($fh,">:scalar",\$scalar);
 
 =head1 DESCRIPTION
 
 
 =head1 DESCRIPTION