App-Briefing
view release on metacpan or search on metacpan
misc/agent-context/.claude/skills/getty-perl-moo/SKILL.md view on Meta::CPAN
my ( $class, $args ) = @_;
return ( $args->{source} );
}
sub BUILD { # after all attributes are set; parentâchild
my ( $self, $args ) = @_;
croak 'invalid' unless length $args->{source};
}
```
Never call `SUPER::BUILD` â Moo runs the chain. Cleanup in `DEMOLISH` (childâparent); never override `DESTROY`.
**Strict constructor:** `use MooX::StrictConstructor;` dies on unknown args (`colour => 'blue'`). `namespace::clean` can sweep its `new` â protect with `-except => ['new']` or fix the import order per the module docs.
## House-style import module
Cross-project boilerplate goes into one `Import::Into` module:
```perl
package My::Mooish;
use Import::Into;
( run in 2.199 seconds using v1.01-cache-2.11-cpan-4e491c91c6e )