Prior to perl 5.8.0, signals in Perl are unsafe.
This is because signals are handled immediately if they
arrive, regardless whether the internals of perl are in a
consistent state or not. Furthermore, lots of function
(including many of the implicite functions, like looking at
a variable) in Perl aren't reentrant safe.