Author: jnthn
Date: 2010-03-05 14:54:02 +0100 (Fri, 05 Mar 2010)
New Revision: 29943
Modified:
docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
[t/spec] Kill :s - it does not fit with the boolean pattern of the rest of the
test operators, and the overall pair syntax (e.g. what would :!s do?) Note for
just non-empty, :!z works. Add a tentative filebytes function for getting file
size in bytes.
Modified: docs/Perl6/Spec/S32-setting-library/IO.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/IO.pod 2010-03-05 13:08:37 UTC (rev
29942)
+++ docs/Perl6/Spec/S32-setting-library/IO.pod 2010-03-05 13:54:02 UTC (rev
29943)
@@ -1,4 +1,4 @@
-
+
=encoding utf8
=head1 TITLE
@@ -691,8 +691,12 @@
Returns C<Path> objects. Path.Encoding is set to $?ENC unless the
$Encoding parameter is passed in (see Path for further discussion of
-encoding).
+encoding).
+=item filebytes
+
+Looks up the passed file name and returns its length in bytes.
+
=item glob
Returns C<Path> objects. Path.Encoding is set to $?ENC unless the
@@ -958,7 +962,7 @@
=over 4
=item IO ~~ :X
-X<:r>X<:w>X<:x>X<:o>X<:R>X<:W>X<:X>X<:O>X<:e>X<:z>X<:s>X<:f>X<:d>X<:l>X<:p>
+X<:r>X<:w>X<:x>X<:o>X<:R>X<:W>X<:X>X<:O>X<:e>X<:z>X<:f>X<:d>X<:l>X<:p>
X<:S>X<:b>X<:c>X<:t>X<:u>X<:g>X<:k>X<:T>X<:B>X<:M>X<:A>X<:C>
=item EXPR ~~ :X
@@ -984,7 +988,6 @@
:e File exists.
:z File has zero size (is empty).
- :s File has nonzero size (returns size in bytes).
:f File is a plain file.
:d File is a directory.