Alle Optionen
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: libmoosex-meta-typeconstraint-mooish-perl  ]

Paket: libmoosex-meta-typeconstraint-mooish-perl (0.001-1.1)

Links für libmoosex-meta-typeconstraint-mooish-perl

Screenshot

Debian-Ressourcen:

Quellcode-Paket libmoosex-meta-typeconstraint-mooish-perl herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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).

Markierungen: Software-Entwicklung: Perl-Entwicklung, Bibliotheken, Implementiert in: Perl

Andere Pakete mit Bezug zu libmoosex-meta-typeconstraint-mooish-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libmoosex-meta-typeconstraint-mooish-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 10,5 kB37,0 kB [Liste der Dateien]