Beginner Perl Maven - part 1

After taking this course and doing all the exercises you will become a Beginner Perl Maven
Instructed by Gabor Szabo
  • Lectures 127
  • Video 10 Hours
  • Skill level all level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android

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.

Course 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

What am I going to get from this course?

  • Over 127 lectures and 9.5 hours of content!

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: Extra Materials
Course material in PDF and Source files (1.24)
156 pages
PDF and sources for Linux and Mac users (1.22)
141.54 KB
PDF and sources for Windows users (1.22)
142.04 KB
Section 2: Chapter 01 - Getting started
Step 01 - Getting started
Preview
02:35
Step 02 - Editors and IDEs for Perl development
03:59
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
Text
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…
Solutions 1
05:45
Solutions 2
07:45
Section 3: Chapter 02 - Scalars
Step 11 - Scalar values and variables
04:09
Common Errors
05:34
04:01

STDIN, chomp

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
04:38

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

Substr
Preview
04:35
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
Text
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. 
Solution: Area of Rectangular
04:44
Solution Area Prompt and Warn if values are less than 0
05:00
Solution: Concatenation
03:38
Text
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…
Solution Number Guessing Game
06:14
Section 4: Chapter 03 - Files
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
Text
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. 
Solution: Add More Statistics
06:46
Text
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. 
Solution: Write Report To File
09:26
Section 5: Chapter 04 - Lists and Arrays
Lists In Perl
02:02
List Assignment
03:28
Foreach Loop Over List
01:19
Creating An Array
02:30
Array Assignment
04:41
Text
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…
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
Text
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…
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
Text
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…
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
Section 6: Chapter 05 - Advanced Arrays
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

Instructor Biography

Gabor Szabo , 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.

Join the biggest student community

6,400,000

Hours of video content

24,000,000

Course Enrollments

6,800,000

Students

Reviews

Average Rating
4.7
Details
  1. 5 Stars
    2
  2. 4 Stars
    1
  3. 3 Stars
    0
  4. 2 Stars
    0
  5. 1 Stars
    0
Ready to start learning?
Preview this course