in reply to error stating flock requires more args

mmhh, interesting, there are two ways to fix that:

it seems to me that there is a clash with the lock funtion (perldoc -f lock) from thread programming but I'm not sure on that. Can someone enlighten me??

-- Hofmator