Perl Programming

Perl is a popular language in the scripting community. You can use Perl to supercharge your scripts, to perform tasks such as complex string manipulation, regular expression matching, file I/O, and so on. You can also use Perl to implement Web applications and to access data in relational databases.

This course covers all these techniques, and also shows how to write object-orientated Perl code to help structure larger solutions.

 What you'll learn:

  • Understanding Perl syntax and data types
  • Using Perl collections
  • Working with subroutines
  • Using strings and regular expressions
  • Manipulating files and XML/JSON data
  • Developing Web applications using CGI
  • Accessing databases using DBI


  • Familiarity with another scripting language such as bash or ksh, or experience with a high level language such as C or Fortran
  • General computer experience, e.g. as a System Administrator on Linux, would be an advantage

Course outline:

Getting Started with Perl

  • Overview of Perl
  • The role of Perl in scripting
  • Getting ready to develop

Perl Language Fundamentals

  • Overview of core Perl syntax rules
  • Scalar data types and variables
  • Operators
  • Flow control

Perl Collections

  • Overview of collections in Perl
  • Arrays
  • Lists
  • Hashes

Working with Subroutines

  • The benefit of subroutines
  • Writing and calling subroutines
  • Passing parameters

Strings and Regular Expressions

  • Overview of strings in Perl
  • Basic string manipulation
  • Introduction to regular expressions
  • Using regular expressions in Perl

Working with Data

  • File I/O operations
  • Working with XML data
  • Working with JSON data

Object-Oriented Perl

  • Defining classes
  • Creating objects
  • Defining modules
  • Using modules

Web Development

  • Web development key concepts
  • Understanding HTTP requests and responses
  • Using CGI

Accessing Databases

  • Database development key concepts
  • The role of Perl in data access
  • Using DBI

Andy Olsen - author of the course

Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.

Other relevant courses

9. October
3 days
Classroom Virtual
26. August
5 days
Classroom Virtual
24. September
4 days
Classroom Virtual On Demand
30. September
5 days
Classroom Virtual