všetky možnosti
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Zdroj: libmoosex-meta-typeconstraint-mooish-perl  ]

Balík: libmoosex-meta-typeconstraint-mooish-perl (0.001-1.1)

Odkazy pre libmoosex-meta-typeconstraint-mooish-perl

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík libmoosex-meta-typeconstraint-mooish-perl:

Správcovia:

Externé zdroje:

Podobné balíky:

module to translate Moo-style constraints to Moose-style

Moose::Meta::TypeConstraint are expected to return true if the value passes the constraint, and false otherwise; Moo "constraints", on the other hand, die if validation fails.

The MooseX::Meta::TypeConstraint::Mooish metaclass allows for Moo-style constraints; it will wrap them and translate their Moo into a dialect Moose understands.

Note that this is largely to enable functionality in MooseX::AttributeShortcuts; the easiest way use this metaclass is by using that package. Also, as it's not inconceivable that this functionality may be desired in other constraint metaclasses, the bulk of this metaclass' functionality is implemented as a trait (MooseX::TraitFor::Meta::TypeConstraint::Mooish).

Značky: Software Development: Perl Development, Knižnice, Implementované v: Perl

Ostatné balíky súvisiace s balíkom libmoosex-meta-typeconstraint-mooish-perl

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť libmoosex-meta-typeconstraint-mooish-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 10.5 kB37.0 kB [zoznam súborov]