develooper Front page | perl.perl5.porters | Postings from June 2022

Re: pre-RFC: template strings

Thread Previous | Thread Next
Ricardo Signes
June 13, 2022 01:40
Re: pre-RFC: template strings
Message ID:
On Sun, Jun 12, 2022, at 17:36, Graham Knop wrote:
> I like the general idea. I don't really like the spelling though, as ${ } already has meaning in the language and in interpolated strings.  I'd say that the @{} form is not needed. Eliminating it could allow a better spelling for the ${ } form.
> Prior art:

Thanks.  If we have only one form, I'd suggest we use `#{ ... }` from Ruby.

Quote::Code raises a good point:  this would be useful in heredocs.  I'll think about it.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About