Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Refactoring Perl 3 - Inline Temp

by BrowserUk (Patriarch)
on Jul 17, 2007 at 20:34 UTC ( [id://627122]=note: print w/replies, xml ) Need Help??


in reply to Refactoring Perl #3 - Inline Temp

While Perl lacks the means to turn a once dynamic variable into a read-only (does anyone know of one?)

See Hash::Util::lock_hash() and Internals::SetReadOnly().

See also Re^2: OOP - Constant Vs. Subroutine for why you might prefer these methods to Readonly


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-26 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found