Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: When is a function call not a function callby duff (Parson) |
on Mar 30, 2006 at 04:15 UTC ( [id://540112]=note: print w/replies, xml ) | Need Help?? |
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:
In Section
Seekers of Perl Wisdom
|
|