Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Constant redefined

by Ctrl-z (Friar)
on May 31, 2005 at 12:07 UTC ( #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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://462013]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2020-06-01 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (12 votes). Check out past polls.

    Notices?