Zefram <zefram@fysh.org> wrote
on Thu, 29 Sep 2011 16:12:30 BST:
>Tom Christiansen wrote:
>> % perl -le 'sub trick { return (3+5)*8 } print trick()'
>> 64
>>
>>It is parsed completely differently!!
>Because it's a list function, because you can return a list.
Ahem:
% perl -le 'print reverse (6+10)*8'
488
--tom
Thread Previous
|
Thread Next