in reply to Re: Re: Re: Re: Summing the elements of multiple arrays into a new array
in thread Summing the elements of multiple arrays into a new array

I like it, I like it. ++

If I understand correctly this implicit parameter stuff, I guess I'll be able to do stuff like this:

sub operator:mat* is prec(\&operator:*) (@X, @Y) { return map { $^m1; # disambiguate ... right? reduce{[ @^a ^+ @^b ]} map { $X[$^m1][$^m2] ^* @{$Y[$^m2]} } 0 .. $#Y } } 0 .. $#X; }
{hoping I got the math right, at least}

I guess if I had more opportunities to write Perl 5 programs ATM, I would do that instead, but these glimpses into the future sure brighten my day. (And next week, there will be Perl programming at work. Yay!)

The Sidhekin
print "Just another Perl ${\(trickster and hacker)},"