in reply to strange flock and alarm behavior
Are you aware of Perl "safe signals"? It might be that some versions of Perl don't unblock signals during calls to whatever is used to implement flock in that version.
- tye