Name : perl-Mixin-ExtraFields
| |
Version : 0.140.2
| Vendor : Mageia_Org
|
Release : 9.mga9
| Date : 2022-03-20 10:27:13
|
Group : Development/Perl
| Source RPM : perl-Mixin-ExtraFields-0.140.2-9.mga9.src.rpm
|
Size : 0.07 MB
| |
Packager : umeabot < umeabot>
| |
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.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/9/x86_64/media/core/release |