Want to learn and master Perl 5?

Join Exercism’s Perl 5 Track for access to 62 exercises with automatic analysis of your code and personal mentoring, all 100% free.

Explore exercises

About Perl 5

package HelloWorld;
use strict;
use warnings;

sub hello {
  return 'Hello, World!';


Get mentored the Perl 5 way

Every language has its own way of doing things. Perl 5 is no different. Our mentors will help you learn to think like a Perl 5 developer and how to write idiomatic code in Perl 5. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Perl 5 - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced Perl 5 exercises

The Perl 5 track on Exercism has 66 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all Perl 5 exercises
Perl 5

Get started with the Perl 5 track

The best part, it’s 100% free for everyone.