Learning Perl by Example
3.8 (70 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,126 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learning Perl by Example to your Wishlist.

Add to Wishlist

Learning Perl by Example

By using examples to illustrate features and functions you will quickly learn Perl
3.8 (70 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,126 students enrolled
Created by Larry Prucha
Last updated 2/2015
English
Current price: $10 Original price: $30 Discount: 67% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 5.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Be able to construct a Perl script to manipulate text or binary documents.
  • Ability to use Perl to interface with and control system software
View Curriculum
Requirements
  • No programming knowledge is required.
  • You should be comfortable using a computer and be familiar with computer terminology.
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

Who 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
Students Who Viewed This Course Also Viewed
Curriculum For This Course
84 Lectures
05:29:24
+
Perl Introduction
2 Lectures 03:05
  • Welcome the students, introductions, describe my background

  • Perl Introduction

Preview 01:13

Discussion of

  • Course outline

  • Course objectives

Preview 01:52
+
Perl Overview
2 Lectures 09:56

Discussion of Perl with overview of syntax (example)

Preview 06:34

Discussion of example Perl scripts

Preview 03:22
+
Scalars
8 Lectures 40:51

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

  • Show different types of numerical data

  • Examples of string data

  • Examples of escape characters

Scalar Data - Numbers
08:46

Discussion of how to use scalar operators

  • numerical and logical (examples)
  • string operators

  • numerical and string comparisons

Scalar Operators - Numeric/Logical
06:24

Discussion of how to use scalar functions (with examples)

  • string operators, variable assignments

  • binary assignment

  • auto increment, decrement

  • chomp, chop usage

Scalar Functions
10:23

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

  • Using <STDIN>

Scalar Interpolation in Stings
03:48

Discussion of how to use scalar print (examples)

  • Output with print
  • Formatted output print

Scalar Print
02:48

Discussion of how to use scalar arithmetic operators (examples)

Ex: $c = $a + $b;

Scalar Operators Arithmetic
01:52

Discussion of how to use scalar logical operators (examples)

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

Scalar Operators Logical
04:22

Discussion of how to use scalar comparison operators (examples)

- summary of numerical and string usage

Scalar Operators Comparison
02:28

Scalar Quiz
3 questions
+
Arrays
9 Lectures 48:13

Discussion of and definition of arrays

- Literal representation with examples

Arrays
01:42

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

  • How arrays and lists are used
  • List constructor operator

  • List with variable references

Arrays and List Data
08:01

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

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

Array Operators
02:53

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

- many combinations of ussage

Array Elements
05:10

Discussion of how to use array slice (examples)

- many combinations are demonstrated

Array Slice
05:04

    • Discussion of how to use array functions (examples)

    • push and pop

    • shift and unshift

    • reverse, sort, chomp

Array Functions
09:33

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

- usaage of <STDIN> as an array

Array Contexts
04:04

Discussion of how to use array transforms (examples)

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

Array Transforms
04:16

Discussion of how to merge arrays and strings (examples)

  • Selecting list and array elements
  • Using Array of Arrays

Array Merging
07:30

Array Quiz
3 questions
+
Hashes
2 Lectures 08:56

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

Use of Keys and Vaules, how to print

Hashes
02:22

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 Operators
06:34

Hash Quiz
3 questions
+
Control Structures
12 Lectures 37:20

Discussion of how to use control structure blocks (examples)

Sequentail execution

Control Stuctures - Blocks
01:56

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

- with an without the else block

Control Structures - if/else
07:08

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

How to interprete numbers and strings

Control Structures - if True/False
01:56

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

"Unless" usage

Control Structures - if/elsif
01:43

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

Using "until"

Control Structures - while
01:39

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

- do while/until usage

Control Structures - do
02:13

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

  • Compare "for" and "while" usage
Control Structures - for
03:04

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

Example with "reverse" function

Control Structures - foreach
01:36

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

How to get out of a loop early

Control Structures - last
02:35

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

How to skip sections of a loop

Control Structures - next
03:11

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

How to jump to alternate sections of a loop

Control Structures - redo
06:00

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

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

Control Structures - LABEL
04:19

Control Structure Quiz
5 questions
+
Basic Input/Output
6 Lectures 20:49

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

Using default variable $_

Basic Input/Output
02:15

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

Reading from @ARGV array

Basic Input/Output - <>
02:18

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

Ussage of formatted printf

Basic Input/Output - STDOUT
02:53

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

Basic I/O File
02:30

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

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

Basic I/O - File Operations
05:34

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

Checking file status operators

Basic I/O - File Usage
05:19

Basic Input/Output Quiz
3 questions
+
Pattern Matching
11 Lectures 48:34
  • Introduction to Regular Expression concepts (examples)
  • Matching format
  • Usage in "if" statemant
Pattern Matching - Regular Expressions
06:14

  • Using Regular Expressions to match character patterns (examples)
  • Using "." and "[..]"
Pattern Matching - Character Patterns
06:00

  • Discussion of how to use a regular expression with common constructs
  • Predefined matching character sets (examples)
Pattern Matching - Common Constructs
04:16

      • Discussion of how to use a regular expression with grouping patterns
      • Matching a sequence, multipliers (examples)
Pattern Matching - Grouping Patterns
04:58

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

    Using general multipliers (examples)

Pattern Matching - Greedy Patterns
04:33

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

    The "=~" and "!~" operators

Pattern Matching - Anchoring Patterns
04:31

    Discussion of using a regular expressions with practical examples

Pattern Matching - Examples
01:56

  • Using variable interpolation
  • Using read only variables $1, $2, $3, etc
Pattern Matching - Variable Interpolation
04:17

  • Discussion of how to use a regular expression with read only variables (example)
  • Using variables $&, $`, $'
Pattern Matching - Read Only Variables
02:43

  • Discussion of how to use a regular expressions using substitution (example)
  • Usage s/match/replace/
Pattern Matching - Substitution
03:53

  • Discussion of how to use a regular expression with split.
  • A walk through of a complex regular expression example. (examples)
Pattern Matching - Split Example
05:13

Pattern Matching Quiz
4 questions
+
Subroutines, Functions, Modules
11 Lectures 29:06
  • Discussion of how to format and create a subroutine
  • Global variable usage
Subroutines, Functions, Modules
01:56

  • Discussion of how to call a subroutine
  • Using a "sub" in expressions
Functions - Calling
02:12

  • Discussion of how to use subroutine returns with examples
  • Implicit and exlicit returns
Functions - Returns
02:32

  • Discussion of how to use subroutine arguments
  • Passing parameters with @_
Funtions - Arguments
02:17

  • Discussion of how to use subroutine arguments
  • Example usage with operators
Functions - Sub Arguments
02:16

  • Discussion of how to use subroutine internal variables
  • The "my" operator usage
Functions - Internal Variables
01:56

  • Discussion of how to use program variables
  • Use of "strict"
  • Why "my" is important
Functions - Program Variables
01:25

  • Discussion of packages and how to use them.
  • Use of namespaces
Packages - Namespace
02:57

  • Discussion of how to use package qualifiers
  • Examples of namespace usage
Packages - Qualifiers
03:09

  • Discussion of how to create libraries and why they are important
  • Example usage of "require" and "use"
Modules - Libraries
04:21

  • Discussion of how to use the "use function".
  • Example of using the "use" function
Modules - use Function
04:05

Subroutines, Functions, Modules Quiz
4 questions
+
Built-in Operations / Functions
8 Lectures 42:44
  • Discussion of previously presented operators
  • How to use "bitwise" operator

Built-in Operators / Functions
02:56

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

Operators - Quote, Miscellaneous
02:40

  • Discussion of list operators usage.
  • Example usage of all list operators
Operators - List
06:06

  • Discussion of string operator usage
  • Example usage of all string operators
Operators - String
03:10

  • Discussion of file operators
  • Examples showing how to use open, read, write, append operators
Operators - Files
05:23

  • Discussion of how to create references.
  • Examples of references for scalars, arrays, hashes, subs, globs
Operators - References
03:50

  • Discussion of how to use dereferences and why they are important
  • Example of how references are used to pass variables to a sub
Operators - Dereferences
05:08

  • Discussion of how to create and manage proccesses
  • Use of "fork()", "child()", "wait()", "waitpid()", and "kill()'
Operators - Process Management
13:31

Built-in Operators Quiz
4 questions
4 More Sections
About the Instructor
Larry Prucha
3.8 Average rating
74 Reviews
1,196 Students
2 Courses
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.