Subject: | perldoc -f sleep incorrectly suggests $SIG{ALARM} |
perldoc -f sleep says:
eval {
local $SIG{ALARM} = sub { die "Alarm!\n" };
sleep;
};
die $@ unless $@ eq "Alarm!\n";
But $SIG{ALARM} isn't real! It should be $SIG{ALRM}.
PR here: https://github.com/mrallen1/Pod-Perldoc/pull/24/files
-- Matthew Horsfall (alh)