Help for this page

Select Code to Download


  1. or download this
    # I hope this works:
    @foobar = reduce {@a ^+ @b} @foo, @bar, @baz, @etc;
    ...
    
    # ... or possibly this:
    @foobar = reduce {$a ^+ $b} @foo, @bar, @baz, @etc;
    
  2. or download this
    @foobar = reduce {$a + $b} *(@foo, @bar, $baz, $etc);