Learning Perl by Example

By using examples to illustrate features and functions you will quickly learn Perl
4.0 (47 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,015 students enrolled
$19
$30
37% off
Take This Course
  • Lectures 84
  • Length 5.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2015 English

Course Description

It's a great time to be a Perl programmer!

In today’s world, ETL (Extract, Transform and Load data) is a driving force to facilitate development of business intelligence and analytics across information delivery, analysis and integration. Perl can be used with this high level software to create the underlying infrastructure for ETL.

    > Use Perl to create database functions that can be combined into one tool to pull data out of one database and place it into another.

    > Perl can define standard metrics, create advanced calculations, analytical functions to enhance data.

    > This self-guided, introductory course provides the foundation for performing the above functions.

LEARN PERL BY EXAMPLE

Imagine, design, implement, test, and roll out new features in your role as a Perl Programmer!

Have you ever wanted to find or extract some information in a huge document without needing to read though it? Do you want to manipulate, reformat, or extract text (or binary data) from a document that is not human readable? Then this course is for you. You can extract, transform and load data into a spreadsheet or a database. You are only limited by your imagination.

Who should take this course:

This course is for someone who wants to learn a software language from the ground up. The course starts with Perl fundamentals and progresses to an intermediate level. Examples are used to introduce concepts and to stimulate the imagination. The end of the course does introduce some advanced topics.

You will learn:

    -Perl fundamentals

    -Learning Perl hands-on examples

    -Object Oriented Programming introduction

Included

    -Guided examples with results, hands on exercises

    -Video modules

    -Instructions to download Perl, a Perl IDE and Editor

    -How to use Perl module extensions

Requirements

    -Desktop, laptop

    -Download Perl (free) to Windows OS

What are the requirements?

  • No programming knowledge is required.
  • You should be comfortable using a computer and be familiar with computer terminology.

What am I going to get from this course?

  • Be able to construct a Perl script to manipulate text or binary documents.
  • Ability to use Perl to interface with and control system software

What is the target audience?

  • The course is designed to introduce the newbie to programming with an easy examples.
  • At the end of the course there is an introduction to using Perl with sockets and data bases
  • If you have just started using computers this course is probably not for you

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Perl Introduction
01:13
  • Welcome the students, introductions, describe my background

  • Perl Introduction

01:52

Discussion of

  • Course outline

  • Course objectives

Section 2: Perl Overview
06:34

Discussion of Perl with overview of syntax (example)

03:22

Discussion of example Perl scripts

Section 3: Scalars
08:46

Discussion of how to use scalar numeric/string data (examples)

  • Show different types of numerical data

  • Examples of string data

  • Examples of escape characters

06:24

Discussion of how to use scalar operators

  • numerical and logical (examples)
  • string operators

  • numerical and string comparisons

10:23

Discussion of how to use scalar functions (with examples)

  • string operators, variable assignments

  • binary assignment

  • auto increment, decrement

  • chomp, chop usage

03:48
  • Discussion of how to use scalar interpolation in strings (examples)
  • double quoted strings

  • Using <STDIN>

02:48

Discussion of how to use scalar print (examples)

  • Output with print
  • Formatted output print

01:52

Discussion of how to use scalar arithmetic operators (examples)

Ex: $c = $a + $b;

04:22

Discussion of how to use scalar logical operators (examples)

Ex: if ($a && $b) { do something }

02:28

Discussion of how to use scalar comparison operators (examples)

- summary of numerical and string usage

Scalar Quiz
3 questions
Section 4: Arrays
01:42

Discussion of and definition of arrays

- Literal representation with examples

08:01

Discussion of how to create and use arrays/list data (examples)

  • How arrays and lists are used
  • List constructor operator

  • List with variable references

02:53

Discussion of how to use array operators and functions (examples)

Assignment examples, use of @a ans qw(...)

05:10

Discussion of how to access and use array elements (examples)

- many combinations of ussage

05:04

Discussion of how to use array slice (examples)

- many combinations are demonstrated

09:33
    • Discussion of how to use array functions (examples)

    • push and pop

    • shift and unshift

    • reverse, sort, chomp

04:04

Discussion of how to use array scalar and list context (examples)

- usaage of <STDIN> as an array

04:16

Discussion of how to use array transforms (examples)

  • transform arrays and strings, using split and join
  • using sort with subroutine

07:30

Discussion of how to merge arrays and strings (examples)

  • Selecting list and array elements
  • Using Array of Arrays

Array Quiz
3 questions
Section 5: Hashes
02:22

Discussion of how to create and use a hash (examples)

Use of Keys and Vaules, how to print

06:34

Discussion of how to use hash operators (examples)

  • creating a hash

  • using Keys and Values functions, getting size

  • hash of arrays, and how to access

Hash Quiz
3 questions
Section 6: Control Structures
01:56

Discussion of how to use control structure blocks (examples)

Sequentail execution

07:08

Discussion of how to use "if/else" in a control structure (examples)

- with an without the else block

01:56

Discussion of how to use "if true/false" in a control structure (examples)

How to interprete numbers and strings

01:43

Discussion of how to use "if/elsif" in a control structure (examples)

"Unless" usage

01:39

Discussion of how to use "while" in a control structure (examples)

Using "until"

02:13

Discussion of how to use "do" in a control structure (examples)

- do while/until usage

03:04

Discussion of how to use "for" in a control structure (examples)

  • Compare "for" and "while" usage
01:36

Discussion of how to use "foreach" in a control structure (examples)

Example with "reverse" function

02:35

Discussion of how to use "last" in a control structure (examples)

How to get out of a loop early

03:11

Discussion of how to use "next" in a control structure (examples)

How to skip sections of a loop

06:00

Discussion of how to use "redo" in a control structure (examples)

How to jump to alternate sections of a loop

04:19

Discussion of how to use "LABEL" in a control structure (examples)

Use of a "label" with "last" and "next"

Control Structure Quiz
5 questions
Section 7: Basic Input/Output
02:15

Discussion of how to use basic I/O with STDIN (examples)

Using default variable $_

02:18

Discussion of how to use basic I/O with the diamond <> operator (examples)

Reading from @ARGV array

02:53

Discussion of how to use basic I/O with STDOUT (examples)

Ussage of formatted printf

02:30

Discussion of how to use basic file I/O (examples)

How to open, read, write, and append to a file

STDIN, STDOUT, and STDERR handles discussed

05:34

Discussion of how to use basic I/O file operations (examples)

How to catch errors on file operations: "die" and "warn"

05:19

Discussion of how to use basic I/O with files (examples)

Checking file status operators

Basic Input/Output Quiz
3 questions
Section 8: Pattern Matching
06:14
  • Introduction to Regular Expression concepts (examples)
  • Matching format
  • Usage in "if" statemant
06:00
  • Using Regular Expressions to match character patterns (examples)
  • Using "." and "[..]"
04:16
  • Discussion of how to use a regular expression with common constructs
  • Predefined matching character sets (examples)
04:58
      • Discussion of how to use a regular expression with grouping patterns
      • Matching a sequence, multipliers (examples)
04:33

    Discussion of how to use a regular expression with greedy patterns (example)

    Using general multipliers (examples)

04:31

    Discussion of how to use a regular expression with anchoring patterns (example)

    The "=~" and "!~" operators

01:56

    Discussion of using a regular expressions with practical examples

04:17
  • Using variable interpolation
  • Using read only variables $1, $2, $3, etc
02:43
  • Discussion of how to use a regular expression with read only variables (example)
  • Using variables $&, $`, $'
03:53
  • Discussion of how to use a regular expressions using substitution (example)
  • Usage s/match/replace/
05:13
  • Discussion of how to use a regular expression with split.
  • A walk through of a complex regular expression example. (examples)
Pattern Matching Quiz
4 questions
Section 9: Subroutines, Functions, Modules
01:56
  • Discussion of how to format and create a subroutine
  • Global variable usage
02:12
  • Discussion of how to call a subroutine
  • Using a "sub" in expressions
02:32
  • Discussion of how to use subroutine returns with examples
  • Implicit and exlicit returns
02:17
  • Discussion of how to use subroutine arguments
  • Passing parameters with @_
02:16
  • Discussion of how to use subroutine arguments
  • Example usage with operators
01:56
  • Discussion of how to use subroutine internal variables
  • The "my" operator usage
01:25
  • Discussion of how to use program variables
  • Use of "strict"
  • Why "my" is important
02:57
  • Discussion of packages and how to use them.
  • Use of namespaces
03:09
  • Discussion of how to use package qualifiers
  • Examples of namespace usage
04:21
  • Discussion of how to create libraries and why they are important
  • Example usage of "require" and "use"
04:05
  • Discussion of how to use the "use function".
  • Example of using the "use" function
Subroutines, Functions, Modules Quiz
4 questions
Section 10: Built-in Operations / Functions
02:56
  • Discussion of previously presented operators
  • How to use "bitwise" operator

02:40
  • Discussion of quote operators
  • Also miscellaneous operators ". x .. ++ -- _> "

06:06
  • Discussion of list operators usage.
  • Example usage of all list operators
03:10
  • Discussion of string operator usage
  • Example usage of all string operators
05:23
  • Discussion of file operators
  • Examples showing how to use open, read, write, append operators
03:50
  • Discussion of how to create references.
  • Examples of references for scalars, arrays, hashes, subs, globs
05:08
  • Discussion of how to use dereferences and why they are important
  • Example of how references are used to pass variables to a sub
13:31
  • Discussion of how to create and manage proccesses
  • Use of "fork()", "child()", "wait()", "waitpid()", and "kill()'
Built-in Operators Quiz
4 questions
Section 11: Object Orientation
04:53
  • Discussion of Object Orientation Basics
  • Use of "class", "object", "method" and "attribute"
02:16
  • Descripion of how to build an object.

  • A class in Perl is created in a package.

02:45
  • Discussion of how an object is created
  • How to use methods
04:42
  • Discussion of how an object inheritance is created.
  • How to use an inherited object
02:00
  • Discussion of how an object is destroyed.
  • Conditions for when an object is destroyed
Object Orientation Quiz
5 questions
Section 12: Project - Perl Sockets
01:55
  • Socket is a way of creating a virtual duplex connection between processes.

  • This lecture describes reasons why Sockets are important.

01:17

Graphical representation and discussion of how sockets work

03:23
  • Be able to write socket calls to:

  • Create a socket using socket call.
  • Bind the socket to a port address using bind call.
  • Listen on socket at port address using listen call.
  • Accept client connections using accept call.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Larry Prucha, SW Engineer at Udemy

Larry Prucha is an adjunct professor of Electronics and Computer Sciences, with 25+ years experience instructing undergraduate and executive certification programs in online, group and individual programs. Larry's instructional experience includes acting director of the Wentworth Technical School, an evening instructor at ITT, and has taught with Fisher College and Mount Wachusett Community College. He has an infectious enthusiasm for technology.

Professionally, Larry Prucha is an Senior Software Consultant who has consulted for Fortune 500 companies such as EMC, Mercury Computer Systems, HP. Larry has 40 years' experience developing diagnostics and system exercisers. Larry first became a Perl enthusiast as an SQA Engineer. He has 15+ years' as a Perl developer. Larry uses Perl to create test harnesses and drive automated testing of hardware and software.

Ready to start learning?
Take This Course