Front page | perl.perl5.porters |
Postings from November 2016
Re: Indented here docs?
Thread Previous
|
Thread Next
From:
wolfsage
Date:
November 13, 2016 13:56
Subject:
Re: Indented here docs?
Message ID:
CAJ0K8bgMgMi8GNMF304xxMWGYGoGHeeU82HOpS4X7mHuv5xrrQ@mail.gmail.com
Final version of indented here-docs to be merged tomorrow here:
https://perl5.git.perl.org/perl.git/commitdiff/31fc7cc5aca8512d49515cb42aca921f601db277
Supports:
<<\EOF;
<<~EOF;
<<~"EOF";
<<~'EOF';
<<~`EOF`;
<<~'';
<<~"";
As well as spaces before quoted delimiters only:
<<~ "EOF"; # etc...
This is consistent with how heredocs currently behave, and this makes
<<~ look like/behave like a single token.
No other existing behaviour has been changed.
Does this work for everyone?
Thanks,
-- Matthew Horsfall (alh)
Thread Previous
|
Thread Next