in reply to search replace (interpolation)
What you're doing wrong is using symbolic references - read the excellent archived newsposts by Dominus, part one, two and three on Why it's stupid to 'use a variable as a variable name'.
You probably want to use a hash, or maybe hard references, instead (and use strict as well, of course). If you tell us what exactly you're trying to do, we might be able to propose something better suited.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: search replace (interpolation)
by Anonymous Monk on Dec 16, 2002 at 20:14 UTC | |
by Aristotle (Chancellor) on Dec 16, 2002 at 20:27 UTC | |
by UnderMine (Friar) on Dec 16, 2002 at 20:50 UTC | |
by Anonymous Monk on Dec 16, 2002 at 21:44 UTC | |
by tachyon (Chancellor) on Dec 16, 2002 at 20:31 UTC |