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

Re: Indented here docs?

Thread Previous | Thread Next
July 1, 2016 17:00
Re: Indented here docs?
Message ID:
On Fri, Jul 1, 2016 at 12:20 PM, Aristotle Pagaltzis <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About