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

Re: MySQL Regex

by yosefm (Friar)
on Apr 13, 2004 at 09:09 UTC ( #344665=note: print w/ replies, xml ) Need Help??


in reply to MySQL Regex

You can avoid escaping problems by using placeholders:

my $sth = $dbh->prepare("... where title regexp ?"); $sth->execute('^\[');

The '?' is replaced by the value passed to 'execute'.


perl -e'$b=unpack"b*",pack"H*","59dfce2d6b1664d3b26cd9969503";\ for(;$a<length$b;$a+=9){print+pack"b8",substr$b,$a,8;}'
My public key


Comment on Re: MySQL Regex
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2015-03-29 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (632 votes), past polls