Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.lang.perl Subject: Re: While learning PERL... a suggestion Keywords: perl file learn suggest Message-ID: <119440@uunet.UU.NET> Date: 21 Jan 91 23:07:31 GMT References: <1991Jan21.092204.11944@ux1.cso.uiuc.edu> <119430@uunet.UU.NET> <1991Jan21.214453.25039@convex.com> Organization: UUNET Communications Services, Falls Church, VA Lines: 12 In article <1991Jan21.214453.25039@convex.com> tchrist@convex.COM (Tom Christiansen) writes: >From the keyboard of rbj@uunet.UU.NET (Root Boy Jim): >:Another thing perl needs is the ability to create lock files. Sysopen? > >flock() is there, as is lockf() disguised as fcntl(). Pardon me. I didn't make myself clear. I need to create lock files, not lock files already created. I meant open(path,O_CREAT|O_EXCL,0666); -- Root Boy Jim Cottrell Close the gap of the dark year in between