Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: [OT] SQL "on duplicate key" custom action

by haukex (Archbishop)
on Oct 10, 2021 at 09:47 UTC ( [id://11137400]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    eval { $in->execute(12345,'Hello','abcde'); 1 } or do { $e = $@ };
    if ( defined $e ) { print "Third insert failed as expected: $e" }
    else { die "Third insert didn't fail as expected" }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found