Deda has asked for the wisdom of the Perl Monks concerning the following question:
What i am trying to achieve isDB<7> x $sql 0 'This string represents a SQL statement $replaceme' DB<8> x $what 0 '$replaceme' DB<9> x $with 0 'value' DB<10> $sql=~s/$what/$with/ DB<11> x $sql 0 'This string represents a SQL statement $replaceme'
Any suggestions what i am doing wrong here?$sql eq 'This string represents a SQL statement value'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: substitution op. (s///) won't work
by Abigail-II (Bishop) on Sep 30, 2003 at 08:45 UTC |