develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34590 - trunk/src/ops

From:
coke
Date:
December 29, 2008 12:14
Subject:
[svn:parrot] r34590 - trunk/src/ops
Message ID:
20081229201357.BA994CB9FA@x12.develooper.com
Author: coke
Date: Mon Dec 29 12:13:56 2008
New Revision: 34590

Modified:
   trunk/src/ops/io.ops

Log:
reference mode types at the opcode docs, where the PDD points us to.



Modified: trunk/src/ops/io.ops
==============================================================================
--- trunk/src/ops/io.ops	(original)
+++ trunk/src/ops/io.ops	Mon Dec 29 12:13:56 2008
@@ -93,12 +93,19 @@
 =item B<open>(out PMC, in STR, in STR)
 
 Open URL (file, address, database, in core image) named $2 with
-Perl style mode string in $3 and create an IO object in $1.
+a mode string in $3 and create an IO object in $1.
+
+The mode consists of a string of characters specified in any order:
+
+ r : read
+ w : write
+ a : append (Note: you must specify "wa", not just "a")
+ p : pipe 
 
 =item B<open>(out PMC, in STR)
 
 Open URL (file, address, database, in core image) named $2 with
-read/write mode and create an IO object in $1.
+read mode and create an IO object in $1.
 
 =cut
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About