| 1 |
Source: libobject-result-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Gabriel Filion <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: libkeyword-simple-perl <!nocheck>, |
| 9 |
libmethod-signatures-perl <!nocheck>, |
| 10 |
libppi-perl <!nocheck>, |
| 11 |
libtest-simple-perl <!nocheck>, |
| 12 |
perl |
| 13 |
Standards-Version: 4.6.2 |
| 14 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libobject-result-perl |
| 15 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libobject-result-perl.git |
| 16 |
Homepage: https://metacpan.org/release/Object-Result |
| 17 |
Rules-Requires-Root: no |
| 18 |
|
| 19 |
Package: libobject-result-perl |
| 20 |
Architecture: all |
| 21 |
Depends: ${misc:Depends}, |
| 22 |
${perl:Depends}, |
| 23 |
libkeyword-simple-perl, |
| 24 |
libmethod-signatures-perl, |
| 25 |
libppi-perl |
| 26 |
Description: module allowing subs to build and return objects on-the-fly |
| 27 |
Object::Result adds a new keyword to Perl: result |
| 28 |
. |
| 29 |
That keyword acts like a return, but instead of a list of values to return, |
| 30 |
it takes a single block which specifies the behaviour (i.e. the methods and |
| 31 |
operator overloading) of an object to be returned. |
| 32 |
. |
| 33 |
The intention is to make it much less onerous to return clean, properly |
| 34 |
encapsulated objects...instead of returning lists of values or references to |
| 35 |
arrays or hashes. |