Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Regex is not working

by moritz (Cardinal)
on Oct 03, 2013 at 05:21 UTC ( #1056720=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/\Q$value\E/$replace/i;
    
  2. or download this
    my @array_1 = ("\$Id_run_query=1", "\$name_run_query=xyz", "db_query_r
    +un_query=select * from meter where metetid=\$Id and metername=\$name"
    +);
    my $query;
    ...
    $query =~ s/($replace_re)/$replace{$1}/ig;
    
    print "===>$query\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-29 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (191 votes), past polls