Permalink
Browse files

added missing POD commands

git-svn-id: http://svn.pugscode.org/pugs@27823 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
jimmy
jimmy committed Jul 31, 2009
1 parent b5521b3 commit b130c5f58626d483207264ec24455a9a515c90d8
@@ -44,6 +44,8 @@ The following are defined in the C<Object> role:
method true() {...}
}
+=over
+
=item defined
our Bool multi method defined ( $self: ) is export
@@ -96,6 +98,8 @@ unless the class overrides the definition. Note that if you could
instantiate an C<Object> it would be considered defined, and thus true.
(It is not clear that this is allowed, however.)
+=back
+
=head2 Any
The following are defined in the C<Any> role:
@@ -90,6 +90,8 @@ appropriate symbol table.
method Bool multi() {...}
}
+=over
+
=item unwrap
See L<S06/Wrapping>.
@@ -100,6 +102,8 @@ See L<S06/Wrapping>.
See L<S06/Wrapping>.
+=back
+
=head2 Sub
class Sub isa Routine {...}
@@ -763,6 +763,8 @@ L<S02/Built-In Data Types>.
=head3 Methods
+=over
+
=item decode
our Str method decode($encoding = $?ENC, $nf = $?NF)
@@ -771,6 +773,8 @@ Decode the C<Buf> into a C<Str>. For subtypes that know their encoding (like
C<utf8>, C<utf16>) the C<$encoding> parameter defaults to their intrisic
encoding instead.
+=back
+
=head3 C<Buf> Operators
Two C<Buf> objects of the same bit size can be compared with the same
@@ -795,12 +799,16 @@ implications on speed and usage they might have --moritz].
The value of a pair is mutable; the key is not.
+=over
+
=item invert
our List multi method invert ( $pair: ) is export {
$pair.value X=> $pair.key
}
+=back
+
=head2 Mapping
class Mapping does Associative {...}
@@ -906,8 +914,6 @@ discourage casual use of the eigenstates as a set.)
=back
-
-
=head1 Additions
Please post errors and feedback to perl6-language. If you are making
View
@@ -912,6 +912,8 @@ Slurps the entire file into a C<Str> (or C<Buf> if C<:bin>) regardless of contex
...
}
+=over
+
=item open
$dir.open(
@@ -940,12 +942,16 @@ Changes the current working directory to the one specified by FILENAME.
If it succeeds it returns true, otherwise it returns C<Failure> and
sets C<$!> (errno).
+=back
+
=head2 IO::LinkNode
role IO::LinkNode does IO::FSNode {
...
}
+=over
+
=item new
Creates a new link in the filesystem.
@@ -965,6 +971,8 @@ Reads in the previously created symlink.
Neither of these is "C<use portable>" compatible.
+=back
+
=head2 IO::Socket::INET
class IO::Socket::INET does IO::Socket {
@@ -1055,6 +1063,8 @@ reader and writer ends of the pipe.
=head2 IO::FSNode::Unix
+=over
+
=item chown
multi chown ($uid = -1, $gid = -1, *@files --> Int)
@@ -1072,7 +1082,7 @@ On systems that support C<fchown>, you might pass file handles
among the files. On systems that don’t support C<fchown>, passing
file handles produces a fatal error at run time.
-Heres an example that looks up nonnumeric uids in the passwd
+Here's an example that looks up nonnumeric uids in the passwd
file:
$user = prompt "User: ";
@@ -1120,6 +1130,8 @@ to true, and additional file tests may be performed on the value. If
the stat fails, all subsequent tests on the stat buffer also evaluate
to false.
+=back
+
=head2 IO::Socket::Unix
role IO::Socket::Unix does IO::Socket {
@@ -55,6 +55,3 @@ See Abstractions.pod
Please post errors and feedback to perl6-language. If you are making
a general laundry list, please separate messages by topic.
-
-
-

0 comments on commit b130c5f

Please sign in to comment.