On Tue, Dec 28, 2010 at 2:06 AM, Chas. Owens On Mon, Dec 27, 2010 at All of
your examples are in fact terms.  A term is a thing that is

> considered one unit.  So, numbers, strings, and variables are all
> obviously terms.  A function or method call that includes parentheses
> is also a term.  But parentheses can create terms out of expressions,
> so, for instance, (5 + 4) is a term (that happens to contain a term,
> an operator, and a another term).  In the [order of operations][1] you
> will find that terms have the highest precedence, this is why (5+5)*2
> is 20, not 15.
>

You know what I just realized? When you say "two terms in a row" you don't
mean "two terms in the same line" but rather, "two terms, one right after
the other".

Sounds obvious in hindsight - a line is not a row - but it caught me off
guard, and that's why I got confused. I was thinking "of course you can have
two terms in the same line".

So TTIR just means that any two terms must be separated by something, like
an operator (2+5). Which basically is common sense and I'm actually
surprised to hear that in Perl 5 you could have two terms one after the
other with nothing in between.


Yes, Multi() means it is a multimethod.  Multimethods [are routines
> that can have multiple variants that share the same name, selected by
> arity, types, or some other constraints.][3]
>

Thanks.

Daniel.
-- 
No trees were destroyed in the generation of this email, but a large number
of electrons were severely inconvenienced.

Reply via email to