Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: Constant string reference

by dave_the_m (Monsignor)
on Dec 09, 2004 at 15:55 UTC ( [id://413600]=note: print w/replies, xml ) Need Help??


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

Are you advocating that people should use Internals::SvREADONLY in general production code?

Dave.

Replies are listed 'Best First'.
Re^7: Constant string reference
by diotalevi (Canon) on Dec 09, 2004 at 16:45 UTC
    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.
Re^7: Constant string reference
by ysth (Canon) on Dec 10, 2004 at 11:46 UTC
    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://413600]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-09-13 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (17 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.