summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-08-16 23:56:14 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-08-16 23:56:14 +0000
commitd6217f1e0304b5fb226ba520442a930ddceeea43 (patch)
tree18bbc3d3b312d6fcaf9f32a8d4ed43375db1a64f /pod/perlfunc.pod
parentd3d49e297818ad29e57e852d02bbe2b2bab8a74c (diff)
downloadperl-d6217f1e0304b5fb226ba520442a930ddceeea43.tar.gz
pod nit seen in passing
p4raw-id: //depot/perl@6658
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod8
1 files changed, 5 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 24dcea2e3d..cef469fb32 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -795,6 +795,8 @@ to check the condition at the top of the loop.
=item cos EXPR
+=item cos
+
Returns the cosine of EXPR (expressed in radians). If EXPR is omitted,
takes cosine of C<$_>.
@@ -3283,10 +3285,10 @@ Examples:
The same template may generally also be used in unpack().
-=item package
-
=item package NAMESPACE
+=item package
+
Declares the compilation unit as being in the given namespace. The scope
of the package declaration is from the declaration itself through the end
of the enclosing block, file, or eval (the same as the C<my> operator).
@@ -3344,7 +3346,7 @@ array in subroutines, just like C<shift>.
=item pos
Returns the offset of where the last C<m//g> search left off for the variable
-is in question (C<$_> is used when the variable is not specified). May be
+in question (C<$_> is used when the variable is not specified). May be
modified to change that offset. Such modification will also influence
the C<\G> zero-width assertion in regular expressions. See L<perlre> and
L<perlop>.