{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Moose eXtension to automatically apply roles at object creation time","compare":"/compare/p5-moosex-traits/index.json","dependentCount":null,"description":"Often you want to create components that can be added to a class\narbitrarily.  This module makes it easy for the end user to use these\ncomponents.  Instead of requiring the user to create a named class with\nthe desired roles applied, or applying roles to the instance one-by-one,\nhe can just pass a traits parameter to the class's new_with_traits\nconstructor.  This role will then apply the roles in one go, cache the\nresulting class (for efficiency), and return a new instance.  Arguments\nmeant to initialize the applied roles' attributes can also be passed to\nthe constructor.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-MooseX-Traits/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"perl@FreeBSD.org","name":"p5-MooseX-Traits","newest":true,"newestVersion":"0.13","noVulnData":false,"origin":"devel/p5-MooseX-Traits","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-MooseX-Traits","path":"/devel/p5-MooseX-Traits/","system":"FreeBSD","version":"0.13"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/p5-MooseX-Traits","path":"/openbsd/devel/p5-MooseX-Traits/","system":"OpenBSD","version":"0.13p1"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/p5-MooseX-Traits","path":"/netbsd/devel/p5-MooseX-Traits/","system":"NetBSD","updated":"2026-07-16","version":"0.13nb11"},{"maintainer":"ports@MidnightBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-MooseX-Traits","path":"/midnightbsd/devel/p5-MooseX-Traits/","system":"MidnightBSD","version":"0.13"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-MooseX-Traits","path":"","system":"HardenedBSD","version":"0.13"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-MooseX-Traits","path":"","system":"GhostBSD","version":"0.13"}],"packages":null,"pkgName":"p5-MooseX-Traits-0.13","related":null,"repository":"DPorts","requiredBy":["devel/p5-Parse-Method-Signatures","net/p5-Net-Riak","textproc/p5-XML-Schematron","www/p5-Perlanet"],"requiredByCount":4,"runDepends":["devel/p5-Class-Load","devel/p5-Moose","devel/p5-Sub-Exporter","devel/p5-namespace-autoclean","lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.13","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/MooseX-Traits"}
