Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 pondering the Monastery: (3)
As of 2015-07-05 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls