debian man page for accessors::chained

Query: accessors::chained

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

accessors::chained(3pm) 				User Contributed Perl Documentation				   accessors::chained(3pm)

NAME
accessors::chained - create method chaining accessors in caller's package.
SYNOPSIS
package Foo; use accessors::chained qw( foo bar baz ); my $obj = bless {}, 'Foo'; # generates chaining accessors: $obj->foo( 'hello ' ) ->bar( 'world' ) ->baz( "! " ); print $obj->foo, $obj->bar, $obj->baz;
DESCRIPTION
The accessors::chained pragma lets you create simple method-chaining accessors at compile-time. This module exists for future backwards-compatability - if the default style of accessor ever changes, method-chaining accessors will still be available through this pragma. See accessors for documentation.
AUTHOR
Steve Purkis <spurkis@cpan.org>
SEE ALSO
accessors, accessors::classic, base perl v5.12.4 2011-10-16 accessors::chained(3pm)
Related Man Pages
accessors(3pm) - debian
class::accessor::fast(3pm) - linux
class::accessor::fast5.18(3) - mojave
class::accessor::fast(3) - osx
class::accessor::class(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph