Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Constant redefined

by Ctrl-z (Friar)
on May 31, 2005 at 12:07 UTC ( [id://462013] : note . print w/replies, xml ) Need Help??

in reply to Re: Constant redefined
in thread Constant redefined

i would be especially interested in the reasons you pretend to have for such a funny idea.

Not to answer for the OP, but I have a module that traverses namespaces wrapping all functions in a closure. This is equivalent to the problem above, though the intention is not to redefine constants.

it is not by accident, that there exists a difference between a constant and a variable

No, but it is an arbitrary implementation detail that constants would be functions that rely on folding in the parser.

time was, I could move my arms like a bird and...