>p.s. Has anybody already suggested that we ought to have a nicer
>solution to execute perl code inside a string, replacing "${\(...)}" and
>"@{[...]}", which also won't ever win a beauty contest?  Oops, wrong
>mailing list.

The first one doesn't work, and never did.  You want 
@{[....]} and @{[scalar ....]} instead.

And I can't see you coming up with anything that's "better" than
this, since this already works and follows directly from understanding
of Perl.  Too often on these lists anything that "follows directly"
one seeks to special-case with brand-new syntax.  This is a poor
general principle.

This has nothing to do with regexes (although it could if we had
@foo normally interpolate into patterns with $" = '|' instead, which
would break that), so when you find a better list to discuss it on,
I'll mumble again.

--tom

Reply via email to