> First of all i use mysql database.
>
> Does anyone know a way to lock a specific table when i run a perl script
that updates this table?
> By the time that script updates this table some users might be use it.
LOCK TABLES table1 [READ|WRITE] [, table2 [READ|WRITE] ] ...

and after update do not forget to UNLOCK TABLES :-)
Look for LOCK TABLE in MySQL manual.

Petr Vileta, Czech republic

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to