An open API service indexing awesome lists of open source software.

https://github.com/chocolateboy/object-extend

Add and override per-object methods
https://github.com/chocolateboy/object-extend

cpan-module eigenclass perl-module ruby singleton zero-dependency

Last synced: about 1 year ago
JSON representation

Add and override per-object methods

Awesome Lists containing this project

README

          

Object-Extend version 0.4.0
===========================

This module allows objects to be extended with per-object methods, similar to the use of
singleton methods in Ruby. Object methods are added to an object-specific shim class
(known as an "eigenclass"), which extends the object's original class. The original class
is left unchanged.

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

DEPENDENCIES

This module requires these other modules and libraries:

Scalar::Util
Storable
Test::More

COPYRIGHT AND LICENCE

Copyright (c) 2013-2021 by chocolateboy.

This is free software; you can redistribute it and/or modify it under the
terms of the Artistic License 2.0.