produced:$_ = q(ab cdefg); $x = q($1,); s/(^\w+)/qq("$x")/ee; print;
What do you mean by: it worked!, but unfortunately puts "" around regular strings. Any suggestions on how I can interpolate $1 inside of a variable with out any side effects similar to qq("")? What side effects?
Charles K. ClarksonIn reply to Re: Interpolating $1 within a variable
by CharlesClarkson
in thread Interpolating $1 within a variable
by s0ttle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |