In article <[EMAIL PROTECTED]>,
Chris Dolan <[EMAIL PROTECTED]> writes:
> Phil Carmody wrote:
>>
>> What is
>> @{[ ... ]}
>> ?
>>
>> It's not in perlsyn, perlop, perlvar ...
>>
>
> It's like this:
>
> $ref = [$w=1,map$w*=$_/--$;,-pop..-1];
> print "@$ref\n";
>
> only with an anonymous array reference and dereference. I keep
> forgetting about that one, too. It would have helped most of my
> solutions...
Another fun thing of my solution is that the value printed first is a copy
of the value printed last, NOT the 1 that gets assigned originally.
(as you can see by trying print"@{[$w=1,map$w*=$_/--$n,-pop..-2]}\n")