Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 scrutinizing the Monastery: (10)
As of 2015-07-31 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls