NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Reduction operator (Score:1)
say (([+] @x XeqX @x) - @x.elems)/2;It appears to work, and doesn't require the diagonal cross operator. The diagonal cross operator does seem like it would be a nice tool to have, tho'
Re:Reduction operator (Score:1)
say [+] %eq% @xif I can figure out how to implement it!
Reply to This
Parent