Re: Can't stop warnings with Perl and MySQL
Hu Hailin wrote:
> You can use the code below to shut off the
> warnings:
>
> $dbh = DBI->connect('dbi:mysql:test:localhost',
> 'root', '', { PrintError => 0 });
>
> But I don't think that the warnings printing will
> disturb your managing the return values.
> Anyway, I'm afraid it's not a good idea.
It's ok, I usered the INSERT IGNORE command that someone else mentioned here, and all is fine.
FOr this particular error I prefer it this way, makes the scren much harder to read for what I am doing.
Subject
Written By
Posted
Re: Can't stop warnings with Perl and MySQL
March 01, 2006 09:30PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.