Perl
Perl text processing and scripting with regular expressions. Use for .pl files.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill perlAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.0 KB, 255 tokens by cl100k_base, as published. Nobody here has run it
Perl
Perl 5.40 (2024) introduced a native try/catch and the __CLASS__ keyword. It remains unbeatable for text processing one-liners.
When to Use
- Text Processing: Regex engine is the gold standard.
- Sysadmin: Legacy scripts on every Unix system.
- Bioinformatics: Massive existing codebases (Bioperl).
Core Concepts
Sigils
$scalar, @array, %hash. Visual typing.
Context
Scalar vs List context. my $len = @arr (count) vs my. ($first) = @arr (element).
CPAN
The "Comprehensive Perl Archive Network". The original package repository.
Best Practices (2025)
Do:
- Use
v5.40: Enable new featuresuse v5.40;. - Use
strictandwarnings: Mandatory for sanity. - Use
App::cpanminus: Modern installer.
Don't:
- Don't write "write-only" code: value readability over golf.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.