PERL Training

PERL Training Syllabus

Overview of Perl

  • What is Perl?
  • The Input Operator
  • Print / Printf Statements
  • Running Perl Programs
  • Sample Program
  • Another Sample Program
  • Yet Another Example

Perl Variables

  • Three Data Types
  • Variable Names and Syntax
  • Variable Naming
  • Lists
  • Scalar and List Contexts
  • The Repetition Operator

Arrays and Hashes

  • Arrays
  • Array Functions
  • The foreach Loop
  • The @ARGV Array
  • The grep Function
  • Array Slices
  • Hashes
  • Hash Functions
  • Scalar and List Contexts Revisited

Quoting and Interpolation

  • String Literals
  • Interpolation
  • Array Substitution and Join
  • Backslashes and Single Quotes
  • Quotation Operators
  • Command Substitution
  • Here Documents

Conditional Statements

  • If Statements
  • If Else Statements
  • If Else if Statements
  • Nested If Statements
  • Switch Statements

Looping Statements

  • While Statements
  • Until Statements
  • For Statements
  • For Each Statements

Regular Expressions

  • Pattern Matching Overview
  • The Substitution Operator
  • Regular Expressions
  • Special Characters
  • Quantifiers (*, +, ?, {})
  • Assertions (^, $, \b, \B)
  • Translate
  • Split
  • Join

Subroutines

  • Overview of Subroutines
  • Passing Arguments
  • Private Variables
  • Returning Values

Files Handling

  • Overview of File I/
  • The open Function
  • The Input Operator
  • Default Input Operator
  • The print Function
  • Reading Directories

Packages and Modules

  • Packages
  • BEGIN and END Routines
  • require vs. use
  • Modules
  • The bless Function

Database Connectivity

  • Using DBI
  • Fetching output of the Query through Perl
  • Running other DB queries.