Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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: (14)
As of 2014-08-27 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (239 votes), past polls