in reply to Re^2: Order of flock and open (mandatory locking)
in thread Order of flock and open

I'd like to ask: are the two manditory file locking methods mentioned above called by the perl flock call? If so, that'd be good for portable code. If not, you've got a big cludge in which you have to examine the operating system to determine what to use.

thor

Replies are listed 'Best First'.
Re^4: Order of flock and open
by Aristotle (Chancellor) on May 02, 2003 at 15:40 UTC
    I did say Linux supports .. :) Depending on what you're trying to do, it might be helpful to know. If you are trying to write portable code, then it certainly isn't.

    Makeshifts last the longest.

      You may have misunderstood what I was trying to say. What I was hoping was that behind the scenes, perl used these manditory schemes, or perhaps there was a magic module that used one subroutine to portably call the manditory scheme, regardless of OS. Sounds like that's not the case. One can always hope...:)

      thor