What problem does it solve? Legacy Perl code often relies on outdated boilerplate, unsafe constructs like two-argument open, and manual argument unpacking, making it hard to maintain and error-prone. This Skill guides writing and refactoring Perl using modern 5.36+ conventions. ## Core Features & Use Cases - Modern Idioms: Enforces use v5.36, subroutine signatures, postfix dereferencing, named regex captures, and the isa operator. - OO and Error Handling: Covers Moo classes and roles, Try::Tiny, native try/catch (5.40+), and the Corinna class keyword (5.38+). - Tooling & Structure: Provides perltidy/perlcritic configs, cpanfile dependency management with Carton, and standard project layout. - Use Case: When migrating a legacy Perl script that uses use strict, manual @_ unpacking, and blessed hashrefs, apply this Skill to rewrite it with signatures, Moo classes, and Path::Tiny file handling. ## Quick Start Refactor my legacy Perl script to use modern Perl 5.36 idioms including signatures, Moo, and safe file handling.