in reply to DBI::CSV file locking?

I believe you are actually talking about DBD::CSV?

The documentation says it should work, if your system supports flock - which leads us to the question what your system is.

That aside I think in the long term you might be more happy with a "real" DB system, of course depending on your particular application.

Replies are listed 'Best First'.
Re^2: DBI::CSV file locking?
by blackrat (Initiate) on Oct 06, 2008 at 19:23 UTC
    Thanks for your response.

    DBD::CSV? probably. My code just has "use DBI;"

    Current system is Linux FC3 and will be migrated to latest CentOS in the near future.

    I've determined that flock() is not reliable on this system. All files in question are accessed only from library routines, and switching from direct Perl functions to read, to the DBI, definitely made a difference.

    As you suggest, moving to a real DB may be required. It was being considered for some time.