Perl Scripting

Perl has evolved from its beginnings as scripting tool for UNIX administrators into one of the most popular, influential, and widely used computer languages in history. In this course, you will learn how to fully utilize the Perl programming language.

Audience:

Application programmers, automation engineer, testers, system administrators, web-crawlers and UNIX/NT power users.

Prerequisites:

Basic of UNIX or Windows.

Duration of Training: 30 hours
Course Content
Day 1 – Expert List Manipulation

  • Perl Fundamentals
  • Scalar, Lists, Arrays and hashes
  • Operators Context
  • Initializing Arrays and Hashes
  • User Input
  • Interpolation
  • Important Scalar, Array and Hash functions
  • Assignments

Day 2 – Control Statements and Subroutine

  • Control flow statements
  • Blocks
  • Subroutines
  • Subroutine Prototypes
  • Control Loops
  • Introduction to special variables
  • Assignments

Day 3 – Files and Files handling

  • Basic and File I/O
  • File handlers
  • Advanced File Processing with Perl
  • Die, exit and warn functions
  • Working with Operation system with Perl
  • Test files
  • Accessing directories
  • Eval statements
  • Assignments

Day 4 – Regular expressions

  • The Regular Expression Bestiary
  • Pattern-Matching Operators
  • Meta characters and Meta symbols
  • Character Classes
  • Quantifiers
  • Positions
  • Grouping and Capturing
  • Alternation
  • Staying in Control
  • Fancy Pattern
  • Advanced Perl Regular Expressions

Day 5 – Advance Perl

  • BEGIN and END
  • Perl reference
  • Signalling
  • Quoting Operator
  • Block references and lexical scoping
  • Perl Data Structures
  • Saving Data Structures
  • Assignments

Day 6 – Object Oriented Perl

  • Object-Oriented Stuff
  • Making Perl Object- Oriented References
  • Review of Packages
  • Package Variables
  • The bless Function
  • Constructor
  • Calling Methods
  • Object-Oriented Design
  • Object-Oriented Development
  • Assignments

Day 7 – Object Oriented Perl

  • Library Modules
  • Importing Package Symbols Exporting Package Symbols
  • Laziness, Impatience, and Hubris
  • CPAN
  • Using Modules
  • Installing a Perl Module
  • Debugging
  • Introduction to DBI/DBD

Developer and Automation project
Assignment on each Topic
Interview and resume preparation
Discussion on Real Time Scenarios