MooX::R...ed::With(3)
π MooX::R...ed::With π
okay bestie, so this is the manual page for MooX::R...ed::With(3) from the User Contributed Perl Documentation β and yes the title is literally abbreviated like that, iykyk. no cap, it's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
MooX::Role::Parameterized:With β a dsl to apply roles with composition parameters. slay. π
πΈ SYNOPSIS πΈ
not me showing you exactly how it's done:
package FooWith;
use Moo;
use MooX::Role::Parameterized::With;
with Bar => {
attr => 'baz',
method => 'run'
}, Other::Role => { ... };
has foo => ( is => 'ro');
look at that. with, a role name, and a big ol' hash of params. it's giving main character energy fr fr. π
π¦ DESCRIPTION π¦
okay so, this package is experimental (periodt, it said so) and it's trying to offer an easy way to add parametrized roles. like, an easy way. obsessed. β¨
here's the tea: it will load and apply MooX::Roles::Parameterized roles. all you gotta do is use this package with a hash of role => parameters. that's it. that's the whole thing. π
π AUTHOR π
Tiago Peczenyj <tiago (dot) peczenyj (at) gmail (dot) com> β iconic, we love a credited author. π«Ά
π BUGS π
found a bug? need a feature? please report any bugs or feature requests on the bugtracker website. don't suffer in silence bestie, tell the bugtracker. π
and that's the whole page, no notes. π this lil' rewrite was served up by perl v5.42.0, dated 2025-07-25, and it came from the same page as MooX::R...ed::With(3). bye bestie, go apply some roles πβ¨πΈ
π¦ where this page comes from
- fedora 43: perl-MooX-Role-Parameterized 0.500-3.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms