Not only does it return an incorrect result, it contains a gratuitous space. Prepending "scalar " to the code fixes the result and with the extra space removed gives a 34 stroke solution. There is a 29 stroke solution that gives the correct result.
In reply to Re: Perl Golf-- testing array intersection
by GrandFather
in thread Perl Golf-- testing array intersection
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |