Mark Lentczner wrote: > STD has sym<;> as both an infix operator ( --> Sequencer), and as a > terminator. > ?? Which is it? Since I think most people think of it as a statement > terminator, I plan on leaving it off the chart.
It is both. Examples where it is used as an infix operator include: loop (my $i = 1; $i < 10; $i *= 2) { ... } my @@slice = (1, 2; 3, 4; 5, 6) Presumably, Perl is capable of distinguishing the meanings based on what the parser is expecting when it finds the semicolon. -- Jonathan "Dataweaver" Lang