There's more than one way to do things | |
PerlMonks |
Re: NFS locking with Fcntlby taint (Chaplain) |
on May 10, 2016 at 13:19 UTC ( [id://1162628]=note: print w/replies, xml ) | Need Help?? |
Greetings, Preceptor.
While I've never been particularly excited about the way the nfs protocol is implemented. It's your project. :) So I asked cpan about fcntl. Given the description: "Set / reset locks using fcntl", IPC::SRLock::Fcntl might be a good candidate. If you're implementing this on UNIX, or a UNIX-like system, POSIX::1003::Fcntl might also be of value. If for no other reason, than to provide some insight into the inner workings of the related functions. Lastly, perlfunc would be a good reference for you. :) --Chris ¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
In Section
Seekers of Perl Wisdom
|
|