Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Regex is not working

by moritz (Cardinal)
on Oct 03, 2013 at 05:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1056720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-20 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found