Package : perl-Mixin-ExtraFields

Package details

Summary: Store extras in a hashy object's guts

Description:
Sometimes your well-defined object needs a way to tack on arbitrary extra
fields. This might be a set of session-specific ephemeral data, a stash of
settings that need to be easy to grow over time, or any sort of
name-and-value parameters. Adding more and more methods can be cumbersome,
and may not be helpful if the names vary greatly. Accessing an object's
guts directly is simple, but is difficult to control when subclassing, and
can make altering your object's structure difficult.

Mixin::ExtraFields provides a simple way to add an arbitrary number of
stashes for named data. These data can be stored in the object, in a
database, or anywhere else. The storage mechanism is abstracted away from
the provided interface, so one storage mechanism can be easily swapped for
another. Multiple ExtraFields stashes can be mixed into one class, using
one or many storage mechanisms.


URL: https://metacpan.org/release/Mixin-ExtraFields
License: GPL+ or Artistic

Maintainer: nobody

List of RPMs