In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/69202faf9bbb2df79c480c008af81e3716263ae4?hp=accb4364d92e26c20e6a538fc04d1af52a8b94e2>
- Log ----------------------------------------------------------------- commit 69202faf9bbb2df79c480c008af81e3716263ae4 Author: Matthew Horsfall <[email protected]> Date: Wed Feb 24 15:06:38 2016 -0500 Fix perldoc -f sleep to use $SIG{ALRM} instead of $SIG{ALARM}. ----------------------------------------------------------------------- Summary of changes: pod/perlfunc.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index ce65a7b..dd57edb 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -6597,7 +6597,7 @@ argument is given. Returns the integer number of seconds actually slept. May be interrupted if the process receives a signal such as C<SIGALRM>. eval { - local $SIG{ALARM} = sub { die "Alarm!\n" }; + local $SIG{ALRM} = sub { die "Alarm!\n" }; sleep; }; die $@ unless $@ eq "Alarm!\n"; -- Perl5 Master Repository
