in reply to Re: Conditional statements for template
in thread Conditional statements for template
""\${s_version/${exe}/$group"": another syntax error (mismatched braces).
I quite agree that the actual or intended semantics of it all are very puzzling, but FWIW at least this expression is syntactically correct:
c:\@Work\Perl\monks>perl -wMstrict -le "my ($exe, $group) = qw(foo bar); my $s = \"\${s_version/${exe}/$group\"; print qq{'$s'}; " '${s_version/foo/bar'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Conditional statements for template
by kcott (Archbishop) on Mar 21, 2014 at 01:12 UTC | |
by AnomalousMonk (Archbishop) on Mar 21, 2014 at 02:09 UTC |