Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: DBI sudden exit on MySQL insert

by mreece (Friar)
on Apr 19, 2007 at 16:54 UTC ( [id://610990]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sth = $dbh->prepare($sqlstatement) 
        or die "cannot prepare: $DBI::errstr";
    
  2. or download this
    my @values  = values %$data;
    my $keylist = join ',', keys %$data;
    my $qlist   = join ',', ('?') x @values;
    

Log In?
Username:
Password:

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

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

    No recent polls found