diff options
author | Frank Wiegand <frank.wiegand@gmail.com> | 2009-01-21 15:28:39 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2009-01-21 15:43:59 +0100 |
commit | b8921b3e20c463c85c5db53a08af87e03d44b1d3 (patch) | |
tree | d1d031bd2c21727f743197794342607b36c79376 | |
parent | 5079785043e4c6884f73006b0d2ec276d2121a4a (diff) | |
download | perl-b8921b3e20c463c85c5db53a08af87e03d44b1d3.tar.gz |
POD typos
-rw-r--r-- | ext/POSIX/POSIX.pod | 4 | ||||
-rw-r--r-- | pod/perlfunc.pod | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod index bb3ee3af09..7263d0a62a 100644 --- a/ext/POSIX/POSIX.pod +++ b/ext/POSIX/POSIX.pod @@ -1732,13 +1732,13 @@ Setting the %SIGRT elements is equivalent to calling this: sub new { my ($rtsig, $handler, $flags) = @_; - my $sigset = POSIX:SigSet($rtsig); + my $sigset = POSIX::SigSet($rtsig); my $sigact = POSIX::SigAction->new($handler, $sigset, $flags); sigaction($rtsig, $sigact); } The flags default to zero, if you want something different you can -either use C<local> on $POSIX::RtSig::SIGACTION_FLAGS, or you can +either use C<local> on $POSIX::SigRt::SIGACTION_FLAGS, or you can derive from POSIX::SigRt and define your own C<new()> (the tied hash STORE method of the %SIGRT calls C<new($rtsig, $handler, $SIGACTION_FLAGS)>, where the $rtsig ranges from zero to SIGRTMAX - SIGRTMIN + 1). diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 8ba3243635..4814ac774b 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4621,7 +4621,7 @@ A reference to a subroutine. If there is no filehandle (previous item), then this subroutine is expected to generate one line of source code per call, writing the line into C<$_> and returning 1, then returning 0 at "end of file". If there is a filehandle, then the subroutine will be -called to act a simple source filter, with the line as read in C<$_>. +called to act as a simple source filter, with the line as read in C<$_>. Again, return 1 for each valid line, and 0 after all lines have been returned. |