On Tue, Oct 2, 2018 at 8:46 PM ToddAndMargo <[email protected]> wrote:
> On 10/2/18 5:31 PM, Curt Tilmes wrote: > > > > On Tue, Oct 2, 2018 at 8:28 PM ToddAndMargo <[email protected] > > <mailto:[email protected]>> wrote: > > > > Question: in Perl syntaxland, is "postfix" short > > for "postcircumfix"? > > > > > > Nope. Each are different types of oeprator. Here is the list: > > https://docs.perl6.org/language/operators#Operator_classification > > > > Hi Curt, > > Maybe I am blind, but I can only find > > postcircumfix [ ] > https://docs.perl6.org/language/operators#postcircumfix_[_] Here's the list cut/pasted from directly at the link I posted: Operators can occur in several positions relative to a term: +term prefix term1 + term2 infix term++ postfix (term) circumfix term1[term2] postcircumfix >From that, you can see that postfix things go behind a single term while postcircumfix things go behind 1 term, and around another term. One example on that page of a postcircumfix operator is the [] you linked to.
