The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.003000 - 2013-03-09

  • API Changes
    • 0.001000 syntax fully deprecated
    • `::NewKey` and `::RefillItems` are now mostly proxy packages, class methods defer to dedicated packages,
    • `::NewKey` and `::NewKey::*` are things that `do` `Set::Associate::Role::NewKey`, and conformance to this role is now reqired for `on_new_key`, not `isa Set::Associate::NewKey`
    • `::RefillItems` and `::RefillItems::*` are things that `do` `Set::Associate::Role::RefillItems`, and conformance to this role is now reqired for `on_items_empty`, not `isa Set::Associate::RefillItems`
    • `on_items_empty` is now a mandatory argument
    • `run` is no longer the public method for `::NewKey`, use `get_assoc`
    • `run` is no longer the public method for `::RefillItems`, use `get_all`
  • Dependencies::New / runtime requires
    • Moose
    • MooseX::AttributeShortcuts
    • MooseX::Role::Parameterized
  • Dependencies::New / test requires
    • Test::Fatal
  • Dependencies::Removed / runtime requires
    • Moo
  • Internals
    • Code shifted from Moo to Moose, because we want Parameterised Roles, so may as well go the whole cow.
    • Hand-written Accessors now replaced by Moose native traits
    • `items` and `items_elements` on the main class now gone.

Modules

Pick items from a data set associatively
New Key assignment methods
Pick a value from the pool based on the MD5 value of the key
Pick a value from the pool based on the SHA1 value of the key
destructively empty the supply pool from the left hand end to give associations.
Associate a key with a value from a pool based on the keys value as a numeric offset.
Associate a key by randomly picking from a pool
Pool re-population methods
a refill method that replenishes the cache with a repeating set of items
a refill method that replenishes the cache with a shuffled list
A Key Association methodology for Set::Associate
A data provider for Set::Associate
Shared Guts between Set::Associate modules