Re: help with odd DBI perpare/execute errors

"Bruce Johnson" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
> On Jun 3, 2015, at 6:57 AM, William Bulley <[email protected]> wrote:
> 
> Yep, I've been all over the net looking for this issue.  I am not
> doing anything wrong -- the "invalid string" is the darn "?"!!!


Make sure your original $query is delimited by double quotes, not single. 

if you do $sth->prepare(‘select column from table where column = ?’); you’ll get that error.

That’s the only way the ? would get past DBI, I’d think, which is what your oracle error seems to be indicating.


-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.