I think someone wrote about this before, but I just wanted to bring it up again.
Is there a way to have DBD::CSV produce a warning or a message (like when printError and raise error is set) to say that it’s waiting for a file lock?? For example if I’m using my oh so beloved MS Excel and it locks the csv file and at the same time I’m trying to also run my even more beloved perl script which is trying to open the file for read. The script of course hangs when trying to execute any statements because it’s waiting for the flock put there by MS Excel..Is there a lock timeout? Is that what f_lock => 2 is for?? At least I’m pretty sure that’s what’s happening because when I open it in things that put the whole file into memory (like my other beloved text editor) I have no problem, but excel likes to lock things, it seems. When I close the file in Excel, of course, the perl runs like a charm. Thanks, Carl Furst ********************************************************** MLB.com: Where Baseball is Always On