Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Perl Query Locks A MsSQL Database

by vincent_veyron (Sexton)
on Jan 25, 2013 at 18:08 UTC ( #1015385=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015385]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-12-08 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (143 votes). Check out past polls.