in reply to Variables in eval funcation

The constant division is evaluated at "compile-time" - which in the case of perl is "interpretation time", rather than "execution time". What you are seeing is the result of perl complaining about a syntax-type error.

     "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken