develooper Front page | perl.perl6.language | Postings from November 2004

Re: Angle quotes and pointy brackets and heredocs

Thread Previous | Thread Next
From:
Larry Wall
Date:
November 29, 2004 08:42
Subject:
Re: Angle quotes and pointy brackets and heredocs
Message ID:
20041129164200.GA19260@wall.org
On Mon, Nov 29, 2004 at 01:56:59AM -0600, Rod Adams wrote:
: What if instead, we add a different adverb to q// and qq//? something 
: like :h. That way people can mix and match all the quoting option they 
: want, and we remove some annoying requirements about when you can and 
: cannot have /<<\s+/ in your code.
: 
: P5:
: 
: print <<"END", " done.\n";
: line 1
: line 2
: END
: 
: 
: P6:
: 
: say qq:h/END/, "done.";
: line 1
: line 2
: END

I think I like it.  Let me think about it some more though.

Larry

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