libobject-result-perl

module allowing subs to build and return objects on-the-fly

Description

Object::Result adds a new keyword to Perl: result

That keyword acts like a return, but instead of a list of values to return, it takes a single block which specifies the behaviour (i.e. the methods and operator overloading) of an object to be returned.

The intention is to make it much less onerous to return clean, properly encapsulated objects...instead of returning lists of values or references to arrays or hashes.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Object-Result


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libobject-result-perl