Browse files

add some X<>-es to the docs

git-svn-id: c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 8eaffa6 commit 4b993cb5167cabbd1a47cf0407cea35797dca24b szabgab committed Apr 28, 2009
Showing with 11 additions and 0 deletions.
  1. +2 −0 S11-modules.pod
  2. +1 −0 S21-calling-foreign-code.pod
  3. +6 −0 S32-setting-library/IO.pod
  4. +2 −0 S32-setting-library/Str.pod
@@ -49,6 +49,7 @@ name within the current package. However, at the start of the file,
the current package is C<GLOBAL>, so the first such declaration in the
file is automatically global.
You can use C<our module> to explicitly
declare a module in the current package (or module, or class).
To declare a lexically scoped module, use C<my module>.
@@ -125,6 +126,7 @@ If the exporting module is actually a class, C<EXPORTALL> will invoke its
C<EXPORT> method with the class itself as the invocant.
=head1 Compile-time Importation
Importing via C<use> binds into the current lexical scope by default
(rather than the current package, as in Perl 5).
@@ -28,6 +28,7 @@ parts of the external calling conventions can't be standardised. But the parts
be standardised are specified here.
=head1 Specification
The C<use> statement allows an external language to be specified in
addition to (or instead of) an authority, so that you can use modules
@@ -35,6 +35,7 @@ method is actually declared in.]
=over 4
=item open
multi open (Str $name,
Bool :$rw = False,
@@ -56,12 +57,14 @@ processed line-by-line, but IO will be in terms of C<Buf> rather
than C<Str> types.
=item getc
method getc (Int $chars = 1 --> Char)
See below for details.
=item print
method print (*@LIST --> Bool)
multi print (*@LIST --> Bool)
@@ -72,6 +75,7 @@ See below for details.
See below for details.
=item say
method say (*@LIST --> Bool)
multi say (*@LIST --> Bool)
@@ -82,13 +86,15 @@ See below for details.
See below for details.
=item printf
method printf (Str $fmt, *@LIST --> Bool)
multi printf (Str $fmt, *@LIST --> Bool)
See below for details.
=item uri
method uri(Str $uri --> IO::Streamable);
sub uri(Str $uri --> IO::Streamable);
@@ -312,6 +312,7 @@ is to duplicate p5 functionality, perhaps it should be "p5quotemeta"?
Do we even want this method at all?]
=item rindex
our StrPos multi method rindex( Str $string: Str $substring, StrPos $pos? ) is export
@@ -320,6 +321,7 @@ is specified, then the search starts at that location in C<$string>, and
works backwards. See C<index> for more detail.
=item split
our List multi split ( Str $delimiter, Str $input, Int $limit = * )
our List multi split ( Regex $delimiter, Str $input, Int $limit = * )

0 comments on commit 4b993cb

Please sign in to comment.