in reply to Re^2: Conditional statements for template
in thread Conditional statements for template
Looking at it again, an escaped dollar sign could well be the intention (particularly in the context of a template).
I suspect, making allowances for multiple typos, I assumed another (i.e. scalar vs. scalarref) when I got to those lines containing '\${'.
However, if "\${version}/$group", "\${exe_state}" and "\${root}" are written as intended (i.e. generating "${version}/group_value", "${exe_state}" and "${root}" for subsequent evaluation via a template), then "\${s_version/${exe}/$group" is probably still missing a brace after 's_version'.
Furthermore, I wonder why braces are used for ${exe} but not for $group: perhaps "\${s_version/${exe}/$group" is actually meant to be "\${s_version}\${exe}/$group" or "\${s_version}/\${exe}/$group" or <insert other guesses here>.
Perhaps the OP will respond at some point and clarify the situation. :-)
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Conditional statements for template
by AnomalousMonk (Archbishop) on Mar 21, 2014 at 02:09 UTC |