On Wed, 9 Aug 2000 09:11:55 +0100 (BST), Nick Ing-Simmons wrote:

>>  @foo = @bar * 12;
>
>I like it. 

>It is pretty obvious what above should do:
>
>@foo = ();
>foreach my $elem (@bar)
> {
>  push(@foo,$elem * 12);
> } 

        @foo = map { $_ * 12 } @bar;


I don't see the need for a new notation.

-- 
        Bart.

Reply via email to