develooper Front page | perl.perl5.porters | Postings from July 2016

Re: Indented here docs?

Thread Previous | Thread Next
From:
wolfsage
Date:
July 1, 2016 17:00
Subject:
Re: Indented here docs?
Message ID:
CAJ0K8bh6ZQRYx+cLgYJ2FppnM45N2TF7d_oJ3StsZqg8qYxWbg@mail.gmail.com
On Fri, Jul 1, 2016 at 12:20 PM, Aristotle Pagaltzis <pagaltzis@gmx.de> wrote:
> I like everything about the proposal except (*groan*) the syntax. Yes,
> sorry. But. I don’t need (and would be reluctant) to make up a counter
> proposal myself. Because as it turns out, at least bash and zsh both
> support this, and both of them use <<- for it.
>
> So can we follow that precedent?

I'm fine with whichever. I modelled mine lightly after ruby 2.3.x
which added <<~ to do indented heredocs since <<- already had meaning
for them.

Is it a simple matter of changing ~ to -, or do we have to worry about
deprecation and such as you state.

-- Matthew Horsfall (alh)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About