Sorry, only answered half of your question. On Wed, May 27, 2009 at 07:56:42PM +0200, Daniel Carrera wrote: > Oh oh oh... is it possible to define a circumfix function for > the dot product? Something like: > > $dot_product = <@vector1,@vector2>; > > Is that possible? That would be uber-cool.
More likely just use sub infix:<·> (@a,@b) { ... } $dot_product = @vector1 · @vector2; Or some such. Larry