Buying for a Team? Gift This Course
Wishlisted Wishlist

Please confirm that you want to add Beginner Perl Maven - part 1 to your Wishlist.

Add to Wishlist

Beginner Perl Maven - part 1

After taking this course and doing all the exercises you will become a Beginner Perl Maven
4.8 (4 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.
157 students enrolled
Created by Gabor Szabo
Published 11/2011
English
$35
30-Day Money-Back Guarantee
Includes:
  • 7 hours on-demand video
  • 11 Articles
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
Have a coupon?
Description

The course is based on the "Beginner Perl Maven" course that I have been teaching in various formats and under various titles for 10 years now. Except that this is an updated version to be as modern as possible while also being useful for people who need to maintain legacy code.

For more details check out my web site

Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 127 Lectures Collapse All 127 Lectures 09:42:49
+
Extra Materials
3 Lectures 00:00
Course material in PDF and Source files (1.24)
156 pages

PDF and sources for Linux and Mac users (1.22)
144.9 kB

PDF and sources for Windows users (1.22)
145.4 kB
+
Chapter 01 - Getting started
13 Lectures 45:31


Step 03 - Perl on the command line
03:24

Step 04 - The First script - Hello World
05:20

Step 05 - Safety new (use warnings; use strict;)
03:24

Step 06 - debugging Perl scripts
03:40

Step 07 - Comments in a Perl script
00:20

Step 08 - perldoc, reading the Perl documentation
03:19

Step 09 - POD - Plain Old Documentation for Perl
04:31

Step 10 - Exercises
01:12

Try your environment Install Perl Make sure you have access to the right version of perl. (At least 5.8. but preferably 5.10 or newer) Check if you can read the documentation with perldoc and check it out on http://perldoc.perl.org as well Write a simple script that prints Hello world. Add some comm…
Exercise
00:17

Solutions 1
05:45

Solutions 2
07:45
+
Chapter 02 - Scalars
26 Lectures 01:26:16
Step 11 - Scalar values and variables
04:09

Common Errors
05:34

STDIN, chomp

User input and output
04:01

Numerical Operators
01:40

String Operators
04:24

If Statement
04:33

Comparison Operators
01:51

String Number Conversion
03:57

Compare Values
04:34

Undef
01:47

Logical Operators
01:29

True and False values
01:31

Short Circut
03:11

length, lc, uc, lcfirst, ucfirst, index, rindex

String Functions: index
04:38


Strings In Double Quotes
04:26

Strings In Single Quotes
01:59

Scope Of Variables
04:53

Rand And Int
01:17

Here Documents
01:37

Write a program that computes the area of a rectangular. Start by having two hard coded values. Multiply them and print the result. Then change the code to prompt the user for two numbers Multiply them and print the result. Further modify the program to warn if one of the sids given was negative. 
Exercise - rectangular
00:14

Solution: Area of Rectangular
04:44

Solution Area Prompt and Warn if values are less than 0
05:00

Solution: Concatenation
03:38

Create a simple command line game guessing a whole number. Let the computer "think" about a whole number between 1-200 using the rand() function. Let the user guess a number. Tell the user if his guess was bigger or smaller than the number the computer "thought" of or tell him if he hit the right nu…
Exercise - Number guessing game
00:20

Solution Number Guessing Game
06:14
+
Chapter 03 - Files
18 Lectures 53:15
die, warn, exit
02:52

Open File
01:31

Open File All
01:11

Open File with Error Handling
04:11

open or die
03:03

No Such File
00:23

Read One Line
00:55

While Loop
01:26

Read File Line By Line
01:51

Write To File
01:15

Sum Numbers In A File
01:53

Debug the Sum Numbers script
07:17

Analyze Apache Log File
04:00

Old Style Open
04:51

Take the script from the count sum example where we added up the numbers in each row of a file and add additional statistical values: minumum maximum average median and standard deviation are probably too difficult at this point. 
Exercise: Add more statistics
00:10

Solution: Add More Statistics
06:46

Take the result of the previous exercise and instead of the screen print the report in a file called report.txt The result should look like this: minumum: -17 maximum: 98 total: 126 count: 6  average: 21  You might need to look up the documentation of the printf   function. 
Exercise: Write Report to file
00:13

Solution: Write Report To File
09:26
+
Chapter 04 - Lists and Arrays
31 Lectures 01:54:49
Lists In Perl
02:02

List Assignment
03:28

Foreach Loop Over List
01:19

Creating An Array
02:30

Array Assignment
04:41

Take the script from the earlier lecture - adding the numbers that were in a file. First of all type it in and make sure it works. Then impove it so in addition to the sum it will also print out the average. What do you need in order to compute the average? Print that value too.  Also print the max…
Exercise - more statistics
00:34

Array Indexes
04:57

Array Indexes (running explanation)
01:56

Looks Like Number
04:22

Command Line Parameters
03:58

Command Line Parameters (Run example)
00:55

Processing comand line using Getopt::Long
07:36

Process Command Line Using Getopt Long Run
03:30

Process CSV File
05:43

Process CSV File - Short Version
05:29

Oneliner - Sum Of CSV
04:04

Processing CSV file using Text::CSV_XS
07:47

Join
01:01

There are several parts of this exercise: Currently the color selector shows menu items numbered from 0. Change it so the displayed numbers will start at 1 but that it will still work correctly.  Currently the user can give any value on the command line. Incluing "nonsense". Check that the given val…
Exercise: improve the color selector
00:32

Solution: Improve The Color Selector
05:03

Solution: Improve The Color Selector Check Input
07:50

Solution: Improve The Color Selector Force
05:38

Solution: Improve The Color Selector colors.txt
03:58

Solution: Improve The Color Selector --filename
04:02

This exercise also has several steps. First of all, let the user guess several times (with responses each time), until she finds the hidden number. Allow various special keys too: n - skip the rest of this game (give up) and start a new game with new hidden number s - show the hidden value (cheat) m…
Improve the number guessing game
00:46

Solution: Number Guessing Game - Multiple Guesses
03:58

Solution: Number Guessing Game - exit
00:59

Solution: Number Guessing Game - s Show
01:45

Solution: Number Guessing Game - N Next Game
04:40

Solution Number Guessing Game D Debug Toggle
05:08

Solution: Number Guessing Game - M Move Toggle
04:37
+
Chapter 05 - Advanced Arrays
15 Lectures 50:10
The Year of 19100
07:25

Array In Context
03:20

Context Sensitivity
05:34

Filehandle In Scalar And List Context
02:30

Slurp
03:54

Pop And Push
01:40

Loop Controls Next Last
03:18

Shift And Unshift
01:14

Shift
02:00

Reverse
01:06

Sort
09:24

Ternary Operator
01:25

Count Digits
06:52

Given a the following file: A 1 B 2 A 2 C 3 B 2 D 4 C 1 Create another file in which the first character is unique: A 1 B 2 C 3 D 4
Exercise: Display unique rows of a file
00:09

In a file we have the following strings: A1 B1 A27 A3 ... each string has a single letter at the beginning and then a number. Sort them first based on the first letter and among values with the same leading letter sort them according to the numbers so the above values would be in the following order…
Exercise: sort mixed string
00:18
+
Chapter 06 - Functions and Subroutines
3 Lectures 10:33
Functions and Subroutines
01:17

Defining Subroutines
09:04

Take the solution of the improved number guessing game from examples/arrays/number_guessing.pl and change it so some parts of it will be functions. Specifically you can create subs for the moving of the spaceship checking the hit How would you indicate the need to 'last' from within the function?
Exercise: Number guessing in sub
00:12
+
Chapter 07 - Hashes
18 Lectures 01:03:51
A Hash And Its Uses
01:38

Creating A Hash
05:02

Creating A Hash From Array
04:30

Hash In Scalar Context
00:50

Fetching Data From Hash
04:34

Exists and Delete Hash
04:17

Counting Words In A File
05:40

Dumping Hash
00:53

Exercise: Parse HTTP Values
01:37

Solution: Parse HTTP Values
06:02

Exercise Improve Color Selector
01:20

Solution: Improve Color Selector
09:29

Exercise Sort Scores
00:27

Solution: Sort Scores
05:54

Exercise Improve Apache Analyzer
00:50

Solution Improve Apache Analyzer
02:31

Exercise: Parse Variable Width Fields
01:45

Solution Parse Variable Width Fields
06:32
About the Instructor
4.8 Average rating
5 Reviews
208 Students
3 Courses
Perl Trainer and Open Source developer

I have been programming since my early high school years and worked in various positions before became self employed Perl contractor and Perl trainer in 2000.

I worked as programmer, system administrators, configuration management and build engineer. I worked on QA test automation tasks and many in-house automation systems.

I have been using Perl since 1995 and teaching it since 2000 both at beginner level and advanced level. I am frequent speaker at various Perl conferences and at FOSDEM.

I got the White Camel award for my contribution to the Perl community. 

I am the lead developer of Padre, the Perl IDE and I have been involved in a number of oter open source Perl projects. My modules can be found on CPAN. I am the curator of the Perl Weekly newsletter.

My goal is to help people use Perl to get their job done. Regardless if they are system administrators, configuration management engineers, web developers or if they use Perl just a secondary tool to process some data.

Report Abuse