Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Constant string reference

by diotalevi (Canon)
on Dec 09, 2004 at 10:17 UTC ( [id://413574]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^4: Constant string reference
in thread Constant string reference

Real code uses introspection. The use of introspection doesn't cause code to cease to be called "real." Mind you, application level code is supposed to delegate this off to a module or such but that doesn't mean the module isn't also "real" or written by non-p5pers.

Replies are listed 'Best First'.
Re^6: Constant string reference
by dave_the_m (Monsignor) on Dec 09, 2004 at 10:55 UTC
    Are you advocating that people should use Internals::SvREADONLY in general production code?

    Dave.

      No, not exactly. I'm just noting that if someone found it useful to write a SomeApplication::ReferenceSection or whatever and found it useful to have things readonly, they might use a function to toggle the readonly flag on their variables.
      Only if they are willing to put up with possible breakage upon perl upgrade. And truly critical production code needs to be vetted anew for each perl upgrade anyway before going live.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://413574]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.