MooX::R...ed::With(3)

πŸ“¦
version 0.500 Β· 2 versions
, in fedora 43

πŸ’– 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