Course Outline

Running Perl programs

  • Creating a Perl script
  • Running Perl scripts
  • Getting help with perldoc

Variable types and contexts

  • Scalars, lists and hashes
  • Strings and interpolated strings
  • Special variables
  • Context
  • if/else/elseif
  • do, while, until, for and foreach

Compound data structures

  • References to named variables
  • References to anonymous data
  • Multidimensional arrays
  • Multidimensional hashes

Managing files and user input

  • Standard I/O streams
  • File handles
  • Command line arguments
  • Reading and writing data files

Perl regular expressions

  • Extracting important text information
  • Perl regular expressions
  • Altering data with substitutions
  • Global and case-insensitive matches

Perl Operators

  • Arithmetic expressions
  • Replicating and growing strings
  • Assignments operators
  • File attributes
  • Logical operators
  • Ranges

Subroutines

  • Defining and calling a subroutine
  • Passing and receiving parameters
  • Returning values to the caller

Perl Functions

  • String functions for text manipulation
  • List functions
  • Sorting data
  • Manipulating file system entries
  • Reading binary files
  • split and join
  • Formatting tabular output

Object Orientation

  • OO in Perl
  • Methods, classes and constructors
  • Obtaining third-party packages from CPAN
  • How to use use
  • Defining a schema to employ OO modules
  • Calling methods with the -> syntax
  • Passing initialisation parameters
 21 Hours

Number of participants



Price per participant

Testimonials (4)

Related Categories