Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Constant string reference

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


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

No, that's not right. Internals::functions may be used by user-code but only by code that allows that perl internals are allowed to change from version to version. The B:: modules exist so that perl isn't a black box and to allow people access to the guts if they really need to be there.

Replies are listed 'Best First'.
Re^4: Constant string reference
by dave_the_m (Monsignor) on Dec 09, 2004 at 15:15 UTC
    No, that's not right. Internals::functions may be used by user-code but only by code that allows that perl internals are allowed to change from version to version.
    That's rather playing with semantics. The OP was presumably talking about real code, not introspection. The p5pers reserve the right to change or completely remove functions in Internals:: between releases.

    Dave.

      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.
        Are you advocating that people should use Internals::SvREADONLY in general production code?

        Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2025-06-17 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.