What's on your line 586? In my copy, that line is setting a umask.
In reply to Re: Is Cache::Cache thread safe? by perrin in thread Is Cache::Cache process safe? (process was thread) by talexb