On Thu, Dec 20, 2007 at 07:58:51AM -0500, Mark J. Reed wrote:
> I think the issue is that bare vars don't interpolate anymore, but
> they still have sigils of their own, so adding to the default interp
> syntax is too noisy:  ${$var} is not really much improvement over
> ${\(expr)}.

That's not quite accurate.  Scalars interpolate as they always have, but
aggregates need to be followed their respective bracketing construct
(e.g., "My array contains these items: @array[]")

The only "issues" that I see from the original email are:
    1. interpolating scalars but not code
    2. having to be more careful about what type of string you're using

Adriano answered #1 I think:  $yaml = Q:!c"{ $key: 42 }";

For the second one, if you're really just worried about how prevalent {}
appear in double-quotish strings, perhaps @Larry could be persuaded to
make them non-interpolative by default. (i.e., the adverb would be
required to make them interpolate)

Jonathan Scott Duff <[EMAIL PROTECTED]>

Reply via email to