Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Overwriting a Constant

by sflitman (Hermit)
on May 05, 2010 at 05:37 UTC ( #838450=note: print w/ replies, xml ) Need Help??


in reply to Overwriting a Constant

Why exactly do you want to do this? I tried to make it happen using Scalar::Readonly, but just turning off the readonly flag isn't enough. I then tried to do it by exporting VALUE from package A (now in another file, so it could be used by main), and it cannot be subverted locally either, even if using readonly_off.

SSF


Comment on Re: Overwriting a Constant
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-12-29 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls