Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: INSERT NOT EXECUTING

by runrig (Abbot)
on Aug 05, 2013 at 19:38 UTC ( #1047971=note: print w/ replies, xml ) Need Help??


in reply to INSERT NOT EXECUTING

To reiterate what you've already been told, but more specifically, change this:

my $connect = DBI->connect($dsn, $user, $pw)or die "NOT WORKING";
To this:
my $connect = DBI->connect($dsn, $user, $pw, {RaiseError => 1});


Comment on Re: INSERT NOT EXECUTING
Select or Download Code
Re^2: INSERT NOT EXECUTING
by cparrett (Initiate) on Aug 05, 2013 at 20:28 UTC

    I tried all the comments, all I get from the output is "Died at Monk.pl line 67." Line 67 is the execute line for the insert statement. Is this an issue with the MySQL Table???

      Is this an issue with the MySQL Table???
      Don't know. But why do you have strict and warnings commented out?

        OK, with the strict and warning, I have now: Died at Monk.pl line 67 (#2) (F) You passed die() an empty string (the equivalent of die "") or you called it with no args and $@ was empty. Uncaught exception from user code: Died at Monk.pl line 67.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-12-27 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls