Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Regular expression "replace string interpolation" problem

by ikegami (Pope)
on May 16, 2008 at 22:39 UTC ( #687041=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "$1 \"Perl\""
    
  2. or download this
    my $replace = '"$1 \\"Perl\\""';  # Produces: "$1 \"Perl\""
    s/$match/eval $replace/e
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-09-01 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (299 votes), past polls