1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Source: libsub-handlesvia-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: intrigeri <intrigeri@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep: libclass-method-modifiers-perl <!nocheck>,
libclass-tiny-perl <!nocheck>,
libclass-xsaccessor-perl <!nocheck>,
libexporter-tiny-perl <!nocheck>,
libmoo-perl <!nocheck>,
libmoose-perl <!nocheck>,
libmoox-typetiny-perl <!nocheck>,
libmoox-typetiny-perl <!nocheck>,
librole-tiny-perl <!nocheck>,
libscalar-list-utils-perl <!nocheck>,
libtest-fatal-perl <!nocheck>,
libtest-requires-perl <!nocheck>,
libtest-simple-perl <!nocheck>,
libtype-tiny-perl (>= 1.004000) <!nocheck>,
libtype-tiny-xs-perl <!nocheck>,
perl
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsub-handlesvia-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsub-handlesvia-perl.git
Homepage: https://metacpan.org/release/Sub-HandlesVia
Rules-Requires-Root: no
Package: libsub-handlesvia-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
libclass-method-modifiers-perl,
libclass-tiny-perl,
libexporter-tiny-perl,
librole-tiny-perl,
libscalar-list-utils-perl,
libtype-tiny-perl (>= 1.004000)
Description: alternative handles_via implementation for Moo, Moose, and more
If you've used Moose's native attribute traits, or MooX::HandlesVia before,
you should have a fairly good idea what Sub::HandlesVia does.
.
Why re-invent the wheel? Well, this is an implementation that should work
okay with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One
ring to rule them all, so to speak.
.
Also, unlike MooX::HandlesVia, it honours type constraints, plus it doesn't
have the limitation that it can't mutate non-reference values.
|