Skip to content

missing support for restricted classes #2

Description

@rurban

i.e. readonly stashes.
Even the basic methods will fail, e.g.

Hash::Util::lock_keys %RestrictedClass::;
Class::Inspector->loaded( 'RestrictedClass' );

=> Attempt to access disallowed key 'VERSION' in a restricted hash

Detecting restricted hashes is trivial.
See e.g. https://github.com/ilmari/class-unload/pull/1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions