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

Re: Range idea

Thread Previous
Xiao Yafeng
January 23, 2014 13:48
Re: Range idea
Message ID:
yeah, it's the same problem, the right expression should be
@foo[3..$#foo].  but I think a * could express a lazy list. In above
case, it automatically point to the end of array. it might be a "good"
design. ;)

On Thu, Jan 23, 2014 at 9:21 PM, Zefram <> wrote:
> Xiao Yafeng wrote:
>>how about @foo[3..*] ?
> Same problem.  All you've changed is the spelling.
> -zefram

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About