man > Class::MOP::Class::Immutable::Trait(3pm)

📛 NAME

Class::MOP::Class::Immutable::Trait - Implements immutability for metaclass objects

🚀 Quick Reference

Use CaseCommandDescription
Make a metaclass immutable$meta->make_immutable()Applies the immutability trait, caches methods, and prevents further class changes.
Check if metaclass is immutable$meta->is_immutableReturns true if the metaclass is immutable.
List cached methods$meta->immutable_methodsReturns a list of method names that are cached when immutable.

📌 VERSION

version 2.2200

📖 DESCRIPTION

This class provides a pseudo-trait that is applied to immutable metaclass objects. In reality, it is simply a parent class.

It implements caching and read-only-ness for various metaclass methods.

đŸ‘Ĩ AUTHORS

ÂŠī¸ COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

perl v5.34.0 — 2022-02-06 — Class::MOP::Class::Immutable::Trait(3pm)

Class::MOP::Class::Immutable::Trait(3pm)
📛 NAME 🚀 Quick Reference 📌 VERSION 📖 DESCRIPTION đŸ‘Ĩ AUTHORS ÂŠī¸ COPYRIGHT AND LICENSE

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 19:54 @2600:1f28:365:80b0:b91e:58eb:6587:15c8
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format