man > Class::Accessor::Faster(3pm)

📛 NAME

Class::Accessor::Faster - Even faster, but less expandable, accessors

🚀 Quick Reference

Use CaseCommandDescription
🔌 Inherit the module use base qw(Class::Accessor::Faster); Make your class a subclass of Class::Accessor::Faster
🛠️ Create accessors __PACKAGE__->mk_accessors(qw(name age)); Generate name and age get/set methods
⚡ Use an accessor $obj->name("Perl"); print $obj->name; Set and retrieve values with minimal overhead

📖 SYNOPSIS

package Foo;
use base qw(Class::Accessor::Faster);

📝 DESCRIPTION

⚡ This is a faster but less expandable version of Class::Accessor::Fast.

🔗 Class::Accessor's generated accessors require two method calls to accomplish their task (one for the accessor, another for get() or set()).

🔗 Class::Accessor::Fast eliminates calling set()/get() and does the access itself, resulting in a somewhat faster accessor.

🔗 Class::Accessor::Faster uses an array reference underneath to be even faster.

📖 Read the documentation for Class::Accessor for more info.

👥 AUTHORS

Copyright 2017 Marty Pauley <marty+perl AT martian.org>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU General Public License or (b) the Artistic License.

📚 SEE ALSO

📘 Class::Accessor

Class::Accessor::Faster(3pm)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION 👥 AUTHORS 📚 SEE ALSO

Generated by phpman v4.9.25-25-g40dbf62 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-16 13:32 @2600:1f28:365:80b0:8802:8bb4:3873:328e
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