[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#645233: ITP: libaccessors-perl -- Perl module to create accessor methods in caller's package

Package: wnpp
Owner: Salvatore Bonaccorso <carnil@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libaccessors-perl
  Version         : 1.01
  Upstream Author : Steve Purkis <spurkis@cpan.org>
* URL             : http://search.cpan.org/dist/accessors/
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Perl module to create accessor methods in caller's package

The accessors pragma lets you create simple accessors at compile-time.

This saves you from writing them by hand, which tends to result in
cut-n-paste errors and a mess of duplicated code. It can also help you reduce
the ammount of unwanted direct-variable access that may creep into your
codebase when you're feeling lazy. accessors was designed with laziness in

Method-chaining accessors are generated by default. Note that you can still
use accessors::chained directly for reasons of backwards compatability.

See accessors::classic for accessors that always return the current value if
you don't like method chaining.

Reply to: