http://qs321.pair.com?node_id=435682


in reply to Re^3: Populating A Hash
in thread Populating A Hash

You can use a semaphore file.