The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.02

  • made method-chaining accessors the default.
  • created accessors::classic and accessors::chained, and killed the 'use accessors qw( foo :style )' syntax.
  • now compat with perl 5.6+ [reported by Michael Schwern]
  • tests no longer noisy (no blib or benchmark diagnostics)
    • reported by Michael Schwern
  • using closures + anon sub instead of eval [reported by Michael Schwern]
  • moved generation methods into simple subs & optimized (smaller pad to restore, results in faster, well factored code)
  • added InvalidNames to catch things like AUTOLOAD & DESTROY
    • reported by James Duncan
  • s/cascading/chaining/ [reported by James Duncan]
  • refactored test suite, added benchmarks for classic accessors.
  • updated docs

Documentation

Modules

create accessor methods in caller's package.
create method chaining accessors in caller's package.
create classic accessors in caller's package.