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
In reply to Re^3: Conditional statements for template
by kcott
in thread Conditional statements for template
by satya_rockstar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |