develooper Front page | perl.perl6.language | Postings from April 2006

Re: foo..bar or long dot and the range operator

Thread Previous | Thread Next
From:
Daniel Hulme
Date:
April 12, 2006 15:04
Subject:
Re: foo..bar or long dot and the range operator
Message ID:
20060412230359.3dadbab1@mekanori.mon.istic.org
> I *still* don't understand the problem this long dot is trying to
> solve.

I'm a bit with you, there. I can see why you might want to do

$query
.fetchrow($i)
.selectcolumn($j)
.say;

rather than

$query.
fetchrow($i).
selectcolumn($j).
say;

but surely

$query.
.fetchrow($i).
.selectcolumn($j).
.say;

is the worst of both worlds? And it strikes me that the ability to put
big, block comments between operator and operand is not a particularly
useful one.

-- 
"Of all  things,  good sense is  the most fairly  distributed:  everyone
thinks  he is  so well  supplied  with it  that even  those who  are the
hardest to satisfy in  every other respect never  desire more of it than
they already have."   --  Descartes, 1637      http://surreal.istic.org/

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