Changes for version 0.008000 - 2025-12-23

  • Documentation
    • Better documentation of Marlin::Struct.
    • Document API.
    • Omit -strict from examples as that is now the default.
  • Other
    • Classes built with Marlin::Struct now provide a default stringification and arrayrefification.
    • Internally use Clone::clone() instead of Storage::dclone() as it can cope with coderefs.
    • Marlin can now inherit from Moose and Moo classes and compose Moose and Moo roles.
    • Provide some useful utility API methods.
    • Various small improvements to Marlin::Struct.

Documentation

comparing Moo, Moose, and class with Marlin
getting the most out of Marlin

Modules

🐟 pretty fast class builder with most Moo/Moose features 🐟
Marlin, but it's a role
quickly create struct-like classes
exports a few keywords it's nice to have with Marlin

Provides

in lib/Marlin/Attribute.pm
in lib/Marlin/TypeConstraint.pm