API-Docker

 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 1.295 second using v1.01-cache-2.11-cpan-4e491c91c6e )