This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarify the PerlIO::scalar docs (suggested by Elizabeth
[perl5.git]
/
ext
/
PerlIO
/
scalar
/
scalar.pm
diff --git
a/ext/PerlIO/scalar/scalar.pm
b/ext/PerlIO/scalar/scalar.pm
index
d75d370
..
bda30c6
100644
(file)
--- 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