Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Perl Query Locks A MsSQL Database

by vincent_veyron (Acolyte)
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


Comment on Re^2: Perl Query Locks A MsSQL Database
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-08-23 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (169 votes), past polls