用户可借助该项目快速创建支持链式调用的访问器方法,简化对象属性操作流程。项目基于 Class::Accessor 开发,核心功能是提供链式访问器生成能力,亮点在于能通过简洁语法实现属性的连续赋值与获取。【此简介由AI生成】
Access rate limit exceeded. Please log in to continue.
README for Class::Accessor::Chained 0.01
=head1 NAME
Class::Accessor::Chained - make chained accessors
=head1 SYNOPSIS
package Foo; use base qw( Class::Accessor::Chained ); PACKAGE->mk_accessors(qw( foo bar baz ));
my $foo = Foo->new->foo(1)->bar(2)->baz(4); print $foo->bar; # prints 2
=head1 DEPENDENCIES
This module has external dependencies on the following modules:
Class::Accessor
=head1 INSTALLATION
perl Build.PL perl Build test
and if all goes well
perl Build install
=head1 HISTORY
What changed over the last 3 revisions
=over
=item 0.01 Monday 24th November, 2003
initial CPAN release
=back
=head1 AUTHOR
Richard Clamp richardc@unixbeard.net
=head1 COPYRIGHT
Copyright (C) 2003 Richard Clamp. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
=head1 SEE ALSO
Introduction
用户可借助该项目快速创建支持链式调用的访问器方法,简化对象属性操作流程。项目基于 Class::Accessor 开发,核心功能是提供链式访问器生成能力,亮点在于能通过简洁语法实现属性的连续赋值与获取。【此简介由AI生成】
Customize your domain