My code works on an old server running DBI v 1.14
But on my new server running DBI v 1.41
When I run my code it throws the following error
Please Advise
ERROR
================================
SQL ERROR: Bad predicate: '^3^'!
SQL ERROR: Couldn't find predicate!
Prepared
SV = RV(0x1baa020) at 0x1c359ac
REFCNT = 1
FLAGS = (PADBUSY,PADMY,ROK)
RV = 0x1e84aec
DBD::CSV::st execute failed: dbih_getcom handle
DBD::CSV::Statement=HASH(0x1e84aec) is not a DBI
handle (has no magic) at C:/Perl/site/lib/SQL/Statement.pm line 164.
20041116 End of original content restored by ysth; updated content follows
I tried the changes that dragonchild explained, and thanks for the help. But I still get the
SQL ERROR
SQL ERROR: Bad predicate: '^3^'! SQL ERROR: Couldn't find predicate! SV = RV(0x1ba9f48) at 0x1c31840 REFCNT = 1 FLAGS = (PADBUSY,PADMY,ROK) RV = 0x1e7e374 DBD::CSV::st execute failed: dbih_getcom handle DBD::CSV::Statement=HA +SH(0x1e7e374) is not a DBI handle (has no magic) at C:/Perl/site/lib/ +SQL/Statement.pm line 164. DBD::CSV::st fetchrow_hashref failed: Attempt to fetch row from a Non- +SELECT statement at Test.pl line 188.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |