perl module for simple concurrency control