in reply to array add/sub/mult/div
Module-less, one could still use just plain boring map:
sub amult { my ($a, $b) = @_; croak "Arrays of different sizes" unless $#$a==$#$b; map { $a->[$_] * $b->[$_] } (0..$#$a) } [download]