$ cat carliz-ranks @ranks[@sorted_positions] = (0 .. $#sorted_positions); $ ppi_dumper -W carliz-ranks PPI::Document PPI::Statement PPI::Token::Symbol '@ranks' PPI::Structure::Subscript [ ... ] PPI::Statement::Expression PPI::Token::Symbol '@sorted_positions' PPI::Token::Operator '=' PPI::Structure::List ( ... ) PPI::Statement::Expression PPI::Token::Number '0' PPI::Token::Operator '..' PPI::Token::ArrayIndex '$#sorted_positions' PPI::Token::Structure ';'
So the .. is an operator , and operators are described in perlop
You can also see the structure of programs with wxPPIxregexplain.pl
In reply to Re: Loops in Perl
by Anonymous Monk
in thread Loops in Perl
by carlriz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |