in reply to Interpolating $1 within a variable
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. Clarkson
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Interpolating $1 within a variable
by s0ttle (Scribe) on Oct 29, 2001 at 14:43 UTC |