Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: DBI variable argument count

by brap (Pilgrim)
on Sep 14, 2012 at 17:08 UTC ( #993759=note: print w/ replies, xml ) Need Help??


in reply to Re^3: DBI variable argument count
in thread DBI variable argument count

Hi anothersmurf,

A quick search of the MySQL documentation came up with http://dev.mysql.com/doc/refman/5.6/en/regexp.html. If you're using the REGEXP operator, you want your strings to look like regular expressions. Does something like

$sth->execute("001", ".*duckman.*", ".*google.com");
work in your code (untested and what have you)?


Comment on Re^4: DBI variable argument count
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-10-22 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls