This is a solid reference for writing modern Perl 5.36+ instead of the legacy boilerplate you still see everywhere. It covers the new preamble (use v5.36 replaces strict, warnings, and signatures), postfix dereferencing, the isa operator, and Moo for object-oriented code. The regex section pushes named captures and /x formatting, which makes maintenance less painful. You also get practical patterns for error handling with Try::Tiny and the native try/catch in 5.40+, plus Path::Tiny for safe file operations. Use this when refactoring old code or starting greenfield projects where you want signatures, cleaner syntax, and fewer footguns. The examples are copy-paste ready but meant to be tightened for your actual stack.
npx -y skills add affaan-m/ecc --skill perl-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills