{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"p5-Class-Method-Modifiers-2.15","path":"devel/p5-Class-Method-Modifiers","url":"/packages/current/devel/p5-Class-Method-Modifiers/","comment":"provides Moose-like method modifiers","homepage":"https://metacpan.org/release/Class-Method-Modifiers","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"Method modifiers are a powerful feature from the CLOS (Common Lisp\nObject System) world. In its most basic form, a method modifier is just\na method that calls $self->SUPER::foo(@_).\n\nClass::Method::Modifiers provides three modifiers: before, around, and\nafter. \"before\" and \"after\" are run just before and after the method they\nmodify, but can not really affect that original method. \"around\" is run in\nplace of the original method, with a hook to easily call that original\nmethod.\n\nOne clear benefit of using Class::Method::Modifiers is that you can\ndefine multiple modifiers in a single namespace. These separate modifiers\ndon't need to know about each other. This makes top-down design easy.\nHave a base class that provides the skeleton methods of each operation,\nand have plugins modify those methods to flesh out the specifics.\n\nIn short, Class::Method::Modifiers solves the problem of making sure you\ncall $self->SUPER::foo(@_), and provides a cleaner interface for it.\n","package_architecture":"*","stem":"p5-Class-Method-Modifiers","readme":null,"dependencies":[{"path":"devel/p5-Test-Requires","type":"test","package_spec":"","url":"/packages/current/devel/p5-Test-Requires/"},{"path":"devel/p5-Moose","type":"test","package_spec":"","url":"/packages/current/devel/p5-Moose/"}],"reverse_dependencies":{"count":15,"url":"/packages/data/35/356df43930658e1ffe0f66c39e349e31b04e099c3fc2ce50383ad1b16c409949.json"},"categories":["devel","perl5"],"flavors":[],"only_for_architectures":[],"not_for_architectures":[]}}
