Subject:
|
flock() and <FH> in Perl
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Thu, 20 May 1999 18:27:19 GMT
|
Reply-To:
|
jsproat@geocities.SAYNOTOSPAMcom
|
Viewed:
|
187 times
|
| |
| |
Probably a dumb question, but I can't find the answer at the moment...
I *think* I read somewhere that a flock()'ed file handle, e.g. FH, shouldn't
be
accessed using the <FH> operator. Is this something to worry about?
Also, can I use a FileHandle object in a call to flock()?
Cheers,
- jsproat
--
Jeremy H. Sproat <jsproat@geocities.com>
http://www.geocities.com/SiliconValley/Horizon/5249/
May the Force be with y'all.
|
|
Message has 1 Reply: | | Re: flock() and <FH> in Perl
|
| (...) That doesn't sound right. You should be able to read a file using <FH> whether you've flocked it with LOCK_SH or LOCK_EX. Do you remember where you might've heard that, or whether it might've been an OS-specific warning? (...) Hmm...what's a (...) (26 years ago, 24-May-99, to lugnet.off-topic.geek)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|