Re: postgres insert
- From: tom@xxxxxxxxxxx (Tom Allison)
- Date: Sat, 25 Nov 2006 13:03:37 -0500
D. Bolliger wrote:
Tom Allison am Donnerstag, 23. November 2006 16:13:
[snipped some code]I get a STDERR warning printed out everytime this has a duplicate key
violation...
Any idea why eval{} doesn't suppress this?
Hi Tom
It'd be a bad idea... eval BLOCK adds the ability to catch runtime errors and modify the default reaction to a die. It is not here to hide any problems of code.
Found out what the problem was. I had PrintError enabled by default.
Once that was set to PrintError => 0 the problem went away.
.
- References:
- postgres insert
- From: Tom Allison
- Re: postgres insert
- From: D. Bolliger
- postgres insert
- Prev by Date: Good Books on Perl, Beginner / Advance
- Next by Date: Re: Good Books on Perl, Beginner / Advance
- Previous by thread: Re: postgres insert
- Next by thread: PSPad and running Perl Scripts
- Index(es):