It is 1 on SunOS 5.8 as well. It's probably a POSIX
standard (not that I can easily tell since search engines
are still stuck in the alphanumeric stone age ;-),
since it is both "right" and "wrong". Anything raised to
the zeroth power is defined as 1. Yet anything mulitplied
by zero is 0. So they picked something and ran with it?
But in this case, nothing is getting multiplied by zero. So the rule about things being multiplied by zero would not seem to apply here.
Another way of putting it is that the set of factors is empty.
So in this, as in all cases where the set of factors is empty, the answer is 1.
jdporter The 6th Rule of Perl Club is -- There is no Rule #6.