Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
How it works
Ask it something hard.
📎 ai-perl-tutor.txtLOADED ✓
I have a Perl script that parses our access log and it silently drops rows. Teach me to find out why.
CLAUDE · WITH THIS SKILLYou get: two questions about whether strict and warnings are on and what the loop condition is -> a task, add use strict and use warnings and paste the first three warnings that appear -> a short lesson on why a bare split in scalar context returns a count rather than a list -> your turn, print the array length on a failing line and say what you expected -> the regex reworked with an anchored capture so the dropped rows are visible -> a progress block naming references as the next lesson.
Questions before you buy? A person answers, usually the same day: hello@kissmyskills.com
// the file itself
Read it before you buy it.
The first lines of the file your AI will read, exactly as delivered. Nothing rewritten for the page.
Use the name Once the file is loaded, talk to it by name: “Serge, check this page.” That is what the name is for. It also keeps several skills apart in one chat.
// the skill your AI runs on
You are a Socratic tutor for Perl, and you run a reading track for an inherited script and a writing track for new code. You have been activated to take the learner from sigils and context through references and regex.
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then tell it what you want to learn. You are a Socratic tutor for Perl. Most of your learners did not choose it. They inherited a script running a nightly job, a bioinformatics pipeline, or a log parser nobody else will touch. So you run two tracks and ask which applies: a reading track for people maintaining existing code, a writing track for people starting from nothing. You teach modern practice and translate old idioms rather than repeating them. Short answers, one construct at a time. The one rule: you never rewrite their script. · Sigils and context. $scalar, @array, %hash, with the sigil describing the access, not the variable: $array[0] is one element of @array. Scalar against list context is the largest source of beginner confusion, and it explains my $count = @items; giving a number. · Declarations: my for lexical scope, our, the dynamically scoped local, and use strict; use warnings; at the top of every file. · Arrays and hashes: push, shift, splice, sort with a block, grep, map, exists against defined. · References: the backslash operator, anonymous [] and {}, dereferencing, the arrow, nested structures, Data::Dumper. · Subroutines: @_, unpacking with my ($a, $b) = @_;, returning lists against scalars, and passing references so arrays do not flatten. · Regular expressions, the reason Perl survives in many shops: m//, s///, tr///, modifiers g, i, x, captures, greedy against lazy, anchors. · Files and one liners: three argument open my $fh, '<', $file, while (my $line = <$fh>), chomp, split, and perl -ne, -pe, -i at the shell. · Modules and errors: use, packages, @INC, cpanm, Try::Tiny, Text::CSV, DBI, plus die and eval blocks and Test::More with prove. · Classic beginner errors: no strict so a typo makes a new variable, == on strings, forgetting chomp, greedy .* eating the line. Someone employable models data with references and ships tests. Ask which track, then three questions and a task.
120 lines · .txt · instant download
// what's inside
What's inside this skill
Scalar and list context taught first, since it explains most Perl confusion
References and the arrow operator worked through on nested data
Regex drilled on your own log lines, including greedy versus lazy
Modern practice: strict, warnings, three argument open, lexical handles
Sysadmins, bioinformaticians and developers who inherited Perl scripts nobody else will touch.
// two ways to get it
Use it inside your AI, or download it once.
Library plan
This skill and 2,500+ others, inside your chat
$9/mocancel anytime, or $59 a year
All 2,500+ skills, prompt packs and agents, loaded the moment you ask
Nothing to download or paste: connect once in Claude, ChatGPT, Claude Code or Cursor
New skills every week and 10 catalog files a month to download
Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
// ask your assistant
Or let your AI set up this skill for you.
Go to kissmyskills.com/pages/connector and set up the "AI Perl Tutor" skill (handle: ai-perl-tutor) for me
Paste it into Claude, ChatGPT, Claude Code, Cursor or Codex. Your AI walks you through connecting KissMySkills (about 3 minutes, 7-day free trial) and loads the skill. What your AI will read →
What you're actually buying
This AI Perl tutor is for the people who did not pick Perl on purpose. You inherited a 900 line script that runs the nightly job, or your lab pipeline is Perl, or a log has to be parsed today. Someone wrote it in 2007 with no strict and variables called $x. This turns Claude or ChatGPT into a tutor that works against the code actually on your screen, one construct at a time.
It asks what you are holding first, then teaches in the order that makes the code readable: sigils and context, which is where every beginner loses hours, then arrays and hashes, then references and the arrow, then regex with capture groups and greediness, then file handling and CPAN modules. It teaches modern practice, strict and warnings on, lexical filehandles, three argument open, and tells you when a line you found online is a habit from a much older Perl.
Claude, ChatGPT and Gemini all take the same file. One paste into a Project, a custom GPT or a Gem, under two minutes, and it resumes where you stopped. One payment, pay once, keep forever.
// how to install
Under 2 minutes
Four steps. Any AI chat.
01
Download the file
After checkout, the download link lands in your inbox. Save the .txt file anywhere on your device.
02
Open your AI chat
Any AI chat you already use: Claude, ChatGPT, Gemini, Grok, Copilot or another.
03
Paste the prompt
Open the .txt file, copy the prompt section and paste it into Claude or ChatGPT - or add it to a Project so it is always there.
04
Start working
Your AI is now configured as a specialist. Ask it anything inside its domain.
No technical knowledge required.
With Library there is nothing to download. Connect your AI once, then ask for any skill by name.
How does this AI Perl tutor help if I only need to fix one inherited script?+
Say that at the start and the plan changes. It runs a reading track instead of a full course: sigils and context, then the specific constructs in your file, then the regex it uses. You paste a section at a time, it asks what you think a line does, and corrects your reading rather than lecturing. Most people can maintain their script within a few sessions.
Will it rewrite the script for me?+
No. It will explain any line you paste, and it will point at the line causing a bug, but it does not return a rewritten file. If you are refactoring, it works through one function with you and hands the next one back. The aim is that you can change the script next month without asking anyone, including this file.
Is Perl worth learning in 2026, and is this modern Perl or the old style?+
It is worth it when the code exists and someone has to own it, which is common in sysadmin work, bioinformatics and older infrastructure. The lessons use modern practice: strict and warnings, lexical filehandles, three argument open, CPAN modules with cpanm, Test::More. When you paste older idioms, it explains them so you can read them, then shows the current form.
Ready to give your AI a specialist?
This one and 2,500+ others, inside Claude, ChatGPT, Claude Code, Codex or Cursor. Cancel anytime.