[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1017689: ITP: libobject-result-perl -- Allow subs to build and return objects on-the-fly



Package: wnpp
Severity: wishlist
Owner: Gabriel Filion <gabster@lelutin.ca>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : libobject-result-perl
  Version         : 0.000003
  Upstream Author : Damian Conway <dconway@cpan.org>
* URL             : https://metacpan.org/release/Object-Result
* License         : artistic2
  Programming Lang: Perl
  Description     : Allow subs to build and return objects on-the-fly

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.


This library is a requirement for libinfluxdb-http-perl, which is itself a
requirement to the newer upstream release of smokeping.

I plan to maintain this package from within the Perl team, and I will ask for
sponsorship within the team.


Reply to: