develooper Front page | perl.perl5.porters | Postings from January 2014

Re: Range idea

Thread Previous | Thread Next
From:
Ed Avis
Date:
January 23, 2014 14:07
Subject:
Re: Range idea
Message ID:
loom.20140123T150524-837@post.gmane.org
H.Merijn Brand <h.m.brand <at> xs4all.nl> writes:

>Why cannot we use open range operators in this case?
>
>Both [n ..] and [n ...] are currently syntax errors

There is some discussion of this in the related bug #118089.
I suggested that Python's slice notation was worth copying:

<http://article.gmane.org/gmane.comp.lang.perl.perl5.porters/126671>

-- 
Ed Avis <eda@waniasset.com>


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