develooper Front page | perl.perl6.language | Postings from May 2001

Re: apo 2

Thread Previous | Thread Next
From:
Edward Peschko
Date:
May 3, 2001 21:09
Subject:
Re: apo 2
Message ID:
20010503210920.A6341@excitehome.net
On Thu, May 03, 2001 at 10:14:47PM -0500, David L. Nicol wrote:
> 
> I am going to miss doublequoting being the default quoting for
> here strings.  I find that to be a very nice optimization and
> would like to know more about the reasoning behind taking it
> away.  I worry that official standard p6 will be more difficult
> to use than official standard p5.
>

yeah, I agree, the apoc-doc also didn't give any reason as to why this was 
happening. I'd think that the automagic going along with FH, ie:

while ($line = FH)
{
}

would generalize quite easily into

print <<EOF;

EOF

Anyways, my one curiosity that sticks out would be: why \Q as being a way to
disambiguate? You could do the same thing with:

print "$foo\[1]\n"
vs
print "$foo[1]\n";

Ed

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