In article <[email protected]>, Mike
McClain <[email protected]> wrote:
> This threw me for a loop for a while since there is no comma in
> map { @{ $HoAoA{$_} } [ 0..$#{ $HoAoA{$_} } ]->[1] } keys %HoAoA;
> but I figured out that the range operator '..' returns a list and
> eventually found the defination of list in perldata.
> I was surprised it didn't show up in perlintro nor in the index of
> 'Programming Perl' and 'Learning Perl' calls it a 'List Literal' in
> chapter 3 which leads to confusion.
Actually, we call it the "range operator" in Learning Perl. It just
happens to be in a more general section named "List Literals". Both
"range operator" and '..' have entries in the indices of Learning Perl
and Programming Perl. Perhaps you overlooked something.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/