in reply to When is a function call not a function call
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));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: When is a function call not a function call
by dpuu (Chaplain) on Mar 30, 2006 at 04:52 UTC | |
by duff (Parson) on Mar 30, 2006 at 05:55 UTC |