To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 47
  flock() and <FH> in Perl
 
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 (...) (25 years ago, 20-May-99, to lugnet.off-topic.geek)
 
  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 (...) (25 years ago, 24-May-99, to lugnet.off-topic.geek)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR