in reply to Re^2: Race condition in Dancer
in thread Race condition in Dancer

Is it a rookie mistake to believe the modules installed from CPAN? Or is the author of Dancer::Session::YAML a rookie?

IIRC every tutorial on locking/open I've seen warns you about clobbering your files, and before you obtain a lock -- the idiom is open without clobber, obtain lock, trunc/seek/write as needed, close


Comment on Re^3: Race condition in Dancer