Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^11: Interpolate into replacement with s//?

by Anonymous Monk
on Nov 24, 2011 at 08:06 UTC ( [id://939820]=note: print w/replies, xml ) Need Help??


in reply to Re^10: Interpolate into replacement with s//?
in thread Interpolate into replacement with s//?

Tip for you
$string =~ s/$search/ warn "Lets see what we're evaling\n$replace\n\n\n"; eval $replace; /ge;

Replies are listed 'Best First'.
Re^12: Interpolate into replacement with s//?
by philkime (Beadle) on Nov 24, 2011 at 12:22 UTC
    Ah. I appear to have been rather stupid, trying to interpolate into single quotes, thanks for the help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-03-28 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found