Re: OO Perl, iterators
- From: anno4000@xxxxxxxxxxxxxxxxxxxxxxx (Anno Siegel)
- Date: 31 Oct 2005 13:42:48 GMT
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx> wrote in comp.lang.perl.misc:
> anno4000@xxxxxxxxxxxxxxxxxxxxxxx (Anno Siegel) wrote in
> news:dk4s2t$e6r$1@xxxxxxxxxxxxxxxxxxxxxxxxx:
>
> > my $i_th = @answers[ $i];
>
> Just a quick correction: @answers[$i] is an array slice; ITYM:
>
> my $i_th = $answers[ $i];
Oh, that too... Same mistake as with the random element you mercifully
snipped. I was thinking Perl 6[1], that's my excuse.
Anno
[1] Though I don't understand how Larry can say Perl 6 is still going
to be Perl when the variables don't change their sigils like a
chameleon (ha!) its colors.
--
If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
.
- References:
- OO Perl, iterators
- From: Gregory Toomey
- Re: OO Perl, iterators
- From: Anno Siegel
- Re: OO Perl, iterators
- From: A. Sinan Unur
- OO Perl, iterators
- Prev by Date: Re: OO Perl, iterators
- Next by Date: Re: GD graph labels: degree symbol?
- Previous by thread: Re: OO Perl, iterators
- Next by thread: Re: OO Perl, iterators
- Index(es):
Relevant Pages
|