[Bioperl-l] SeqIO File locking

James Thompson tex at biosysadmin.com
Thu Nov 11 21:33:19 EST 2004


If your program is the only way that these files can be modified, try using
flock (perldoc -f flock). File locking is something that can vary depending
on your platform of choice, so be sure to read the documentation thoroughly.


James Thompson

On Fri, 12 Nov 2004, Dave Thompson wrote:

> Hi,
> I'm writing a cgi web interface that can alter GenBank files via SeqIO. 
> Is there a way to implement file locking with SeqIO so that multiple 
> users cannot write to the same GenBank file at the same time?
> thanks
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l

More information about the Bioperl-l mailing list