[EMAIL PROTECTED] (Austin Hastings) writes:
> What does C<scatter> do?

That's the operator that's used to assign values to C<$^x> and
friends in closures.  In all its glory, you give it a set of values,
and it assigns them to a block's undefined variables, quieting those
annoying warnings:

    @x = 1..10;
    
    scatter @x {
        $the = 1;
        $teh + $the * $The
    }
    
    # ==> 1 + 1 * 2 = 3

/s

Reply via email to