in reply to Re^3: RFC: Junction.pmin thread RFC: Junction.pm
sub do_<op> { my ($self, $other, $switch) = @_; @$self = map { $switch ? ($other <op> $_) : ($_ <op> $other) } @$self; return $self; } [download]
The Perfect is the Enemy of the Good.