Larry Wall skribis 2005-05-14 8:29 (-0700):
> : say [x];
> : Is it a repeating metaoperator on an empty list, or a single-element
> : array reference that contains the return value of calling &x()?
> Always the first. [x] doesn't have to do lookahead.
Does this mean that [x] is just an inter
On Sat, May 14, 2005 at 10:53:38PM +0800, Autrijus Tang wrote:
: On Sat, May 14, 2005 at 10:56:29PM +1000, Damian Conway wrote:
: > 8. To verify the monotonicity of a sequence:
: >
: >$is_monotonic = [<] @numbers;
:
: Hey. Does this mean that the [] metaoperator fo
On Sat, May 14, 2005 at 10:56:29PM +1000, Damian Conway wrote:
> 8. To verify the monotonicity of a sequence:
>
>$is_monotonic = [<] @numbers;
Hey. Does this mean that the [] metaoperator folds with the
associativity of the operator inside it?
That is, if the operat