in reply to Re: Capturing warnings from DBD:PG
in thread Capturing warnings from DBD:PG

Thanx

I moved the block of code to the top of the script and it worked