http://www.perlmonks.org?node_id=1015385


in reply to Re: Perl Query Locks A MsSQL Database
in thread Perl Query Locks A MsSQL Database

"is there any reason you're executing your statement within an eval?"
From perldoc -f eval : It is Perl's exception trapping mechanism; so you can trap errors and write eg :

if ( $@ ) { if ( $@ =~ /foreign key/ ) { } else { }
http://vincentveyron.com Logiciels de gestion des contentieux juridiques et des sinistres d'assurance