in reply to Syntax discrepancy?

The operator => is not greater or equal, but the "fat comma", so Perl would parse your expression as

while($value, 10)

which will always be true.

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)