in reply to Substitution for braces
//g switch in above regexp doesn't make sense, can be omitted.
$Name_pre =~ s/$Name_pre/$Name/g;I have been thinking intensively for a moment, but cannot find any example, where it would be better than
$Name_pre = $Name;What exactly is this code supposed to do?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Substitution for braces
by BioLion (Curate) on Jul 08, 2009 at 09:17 UTC | |
|
Re^2: Substitution for braces
by gem555 (Acolyte) on Jul 08, 2009 at 09:18 UTC | |
by GrandFather (Saint) on Jul 08, 2009 at 09:48 UTC | |
by gem555 (Acolyte) on Jul 09, 2009 at 06:48 UTC | |
by Utilitarian (Vicar) on Jul 08, 2009 at 10:17 UTC |