To make it work I need to resort to:
print sort grep {1} uniq 0,0,1,2;
I know it's mentioned in the node that Roy Johnson linked to, but I think it bears repeating that you don't need to resort to such arcane chicanery. Simply adding parentheses does the trick:
print sort(uniq(0,0,1,2));
In reply to Re: When is a function call not a function call
by duff
in thread When is a function call not a function call
by dpuu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |