in reply to array add/sub/mult/div
Sorry, but your wheel has already been invented.
Isn't that great? Perl has loops and simple math built in!
And if that isn't simple enough, Perl 6 will provide these:
Oops, I didn't read the original post well enough. Anyway, Perl 6 will provide:
@foo ^+= @bar; etcetera
U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk
|
|---|