On Tue, Apr 15, 2014 at 11:15 AM, Joshua Hoblitt <[email protected]> wrote:

> I haven't tried it (I just started testing 3.5.1-rc1 this morning) so
> these are quick comments from only having looked at the ARM.
>
> * I really like the perl5 style interpolation control.
>
> * The End Marker/indentation control is a great feature.
>
> * Is it possible to escape the endtag so that it can appear inside the
> heredoc string?
>
>
I don't believe so. In fact I don't know of any heredoc system that allows
that, since you can just select a different end marker.


> * I feel it's a bit confusing for an operator to have a function call
> like syntax.  I'm sure it's already been discussed at length but why
> wasn't the shell/perl5/ruby << heredoc operator reused?
>

Actually, there wasn't much discussion. Henrik will have to explain the
choice. I always assumed it had to do with parsing, possibly since << is
used to introduce the collection query (a complete guess).


> -Josh
>
> --
> On 04/15/2014 11:01 AM, Andy Parker wrote:
> > There hasn't been any discussion on this as far as I can see. The
> > functionality is in the 3.5.0 version that we had to pull, and it will
> also
> > be in 3.5.1 that we should be releasing soon. If anyone has any comments
> > please let us know. The design of this is still open for change until we
> > reach puppet 4, where the new language system will become the default and
> > any more changes to this will become more difficult.
> >
> >
> > On Mon, Mar 17, 2014 at 3:32 PM, Henrik Lindberg <
> > [email protected]> wrote:
> >
> >> In Puppet 3.5.0, there is an implementation of ARM-4 Puppet Heredoc,
> >> (available when turning on --parser future).
> >>
> >> The original ARM text has been copied to a google doc to make it easier
> to
> >> comment. This version is found here:
> https://docs.google.com/document/d/
> >> 1vcYTFCah3zc1n86FTWqSfOLyoeAqcQ3FDzlHX-x0fyM/edit?usp=sharing
> >>
> >> If you want a shorter introduction, you find my blog post about heredoc
> >> here http://puppet-on-the-edge.blogspot.se/2014/03/heredoc-is-here.html
> >>
> >> Looking forward to receiving feedback and questions.
> >>
> >> The idea is that heredoc is made available as a regular feature in
> Puppet
> >> 4.0.
> >>
> >> Regards
> >> - henrik
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Puppet Developers" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to [email protected].
> >> To view this discussion on the web visit https://groups.google.com/d/
> >> msgid/puppet-dev/lg7t66%24m08%241%40ger.gmane.org.
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/534D7752.9020402%40cpan.org.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Andrew Parker
[email protected]
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2014 <http://www.puppetconf.com/>, September
22-24 in San Francisco*
*Register by May 30th to take advantage of the Early Adopter discount
<http://links.puppetlabs.com/puppetconf-early-adopter> **—**save $349!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANhgQXs%2Bg3ccSfgkpgj4mL5x-QBK5_jsygH%3DpjHwrxVq-QShOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to