On Sat, Aug 6, 2016 at 3:39 PM, Tony Cook <tony@develop-help.com> wrote: > On Sat, Aug 06, 2016 at 09:05:23AM -0400, James E Keenan wrote: > > What is Internals? > > Internals is deliberately undocumented, unsupported. > > dist/ and cpan/ shouldn't use it. > > Tony > Quite frankly, I believe adding two simple functions in Scalar::Utils would solve most of this problem: "get the refcount" and "make the variable readonly". Conceptually they're both fairly sane and easy to explain operations and apparently responsible for about 95% of all use-cases of Internals::. The other 5% is stuff like making a readonly variable writable (Hash::Util and a few CPAN modules) or modifying a refcount (I hope no one is doing this), which both fail the sanity check IMO. LeonThread Previous | Thread Next