You can learn anything on Udemy. Start today with one of our 10,000+ online courses

Beginner Perl Maven - part 1

After taking this course and doing all the exercises you will become a Beginner Perl Maven
3 reviews
WHAT'S INSIDE
  • Lifetime access to 127 lectures
  • 9+ hours of high quality content
  • A community of 100+ students learning together!
TAUGHT BY
  • 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.

SHARE

Beginner Perl Maven - part 1

After taking this course and doing all the exercises you will become a Beginner Perl Maven
3 reviews

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

    • Over 127 lectures and 9.5 hours of content!

CURRICULUM

  • SECTION 1:
    Extra Materials
  • 1
    Course material in PDF and Source files (1.24)
    156 pages
  • 2
    PDF and sources for Linux and Mac users (1.22)
    141.54 KB
  • 3
    PDF and sources for Windows users (1.22)
    142.04 KB
  • SECTION 2:
    Chapter 01 - Getting started
  • 4
    Step 01 - Getting started
    02:35
  • 5
    Step 02 - Editors and IDEs for Perl development
    03:59
  • 6
    Step 03 - Perl on the command line
    03:24
  • 7
    Step 04 - The First script - Hello World
    05:20
  • 8
    Step 05 - Safety new (use warnings; use strict;)
    03:24
  • 9
    Step 06 - debugging Perl scripts
    03:40
  • 10
    Step 07 - Comments in a Perl script
    00:20
  • 11
    Step 08 - perldoc, reading the Perl documentation
    03:19
  • 12
    Step 09 - POD - Plain Old Documentation for Perl
    04:31
  • 13
    Step 10 - Exercises
    01:12
  • 14
    Exercise
    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…
  • 15
    Solutions 1
    05:45
  • 16
    Solutions 2
    07:45
  • SECTION 3:
    Chapter 02 - Scalars
  • 17
    Step 11 - Scalar values and variables
    04:09
  • 18
    Common Errors
    05:34
  • 19
    User input and output
    04:01

    STDIN, chomp

  • 20
    Numerical Operators
    01:40
  • 21
    String Operators
    04:24
  • 22
    If Statement
    04:33
  • 23
    Comparison Operators
    01:51
  • 24
    String Number Conversion
    03:57
  • 25
    Compare Values
    04:34
  • 26
    Undef
    01:47
  • 27
    Logical Operators
    01:29
  • 28
    True and False values
    01:31
  • 29
    Short Circut
    03:11
  • 30
    String Functions: index
    04:38

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

  • 31
    Substr
    04:35
  • 32
    Strings In Double Quotes
    04:26
  • 33
    Strings In Single Quotes
    01:59
  • 34
    Scope Of Variables
    04:53
  • 35
    Rand And Int
    01:17
  • 36
    Here Documents
    01:37
  • 37
    Exercise - rectangular
    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. 
  • 38
    Solution: Area of Rectangular
    04:44
  • 39
    Solution Area Prompt and Warn if values are less than 0
    05:00
  • 40
    Solution: Concatenation
    03:38
  • 41
    Exercise - Number guessing game
    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…
  • 42
    Solution Number Guessing Game
    06:14
  • SECTION 4:
    Chapter 03 - Files
  • 43
    die, warn, exit
    02:52
  • 44
    Open File
    01:31
  • 45
    Open File All
    01:11
  • 46
    Open File with Error Handling
    04:11
  • 47
    open or die
    03:03
  • 48
    No Such File
    00:23
  • 49
    Read One Line
    00:55
  • 50
    While Loop
    01:26
  • 51
    Read File Line By Line
    01:51
  • 52
    Write To File
    01:15
  • 53
    Sum Numbers In A File
    01:53
  • 54
    Debug the Sum Numbers script
    07:17
  • 55
    Analyze Apache Log File
    04:00
  • 56
    Old Style Open
    04:51
  • 57
    Exercise: Add more statistics
    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. 
  • 58
    Solution: Add More Statistics
    06:46
  • 59
    Exercise: Write Report to file
    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. 
  • 60
    Solution: Write Report To File
    09:26
  • SECTION 5:
    Chapter 04 - Lists and Arrays
  • 61
    Lists In Perl
    02:02
  • 62
    List Assignment
    03:28
  • 63
    Foreach Loop Over List
    01:19
  • 64
    Creating An Array
    02:30
  • 65
    Array Assignment
    04:41
  • 66
    Exercise - more statistics
    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…
  • 67
    Array Indexes
    04:57
  • 68
    Array Indexes (running explanation)
    01:56
  • 69
    Looks Like Number
    04:22
  • 70
    Command Line Parameters
    03:58
  • 71
    Command Line Parameters (Run example)
    00:55
  • 72
    Processing comand line using Getopt::Long
    07:36
  • 73
    Process Command Line Using Getopt Long Run
    03:30
  • 74
    Process CSV File
    05:43
  • 75
    Process CSV File - Short Version
    Upcoming
  • 76
    Oneliner - Sum Of CSV
    04:04
  • 77
    Processing CSV file using Text::CSV_XS
    07:47
  • 78
    Join
    01:01
  • 79
    Exercise: improve the color selector
    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…
  • 80
    Solution: Improve The Color Selector
    05:03
  • 81
    Solution: Improve The Color Selector Check Input
    07:50
  • 82
    Solution: Improve The Color Selector Force
    05:38
  • 83
    Solution: Improve The Color Selector colors.txt
    03:58
  • 84
    Solution: Improve The Color Selector --filename
    04:02
  • 85
    Improve the number guessing game
    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…
  • 86
    Solution: Number Guessing Game - Multiple Guesses
    03:58
  • 87
    Solution: Number Guessing Game - exit
    00:59
  • 88
    Solution: Number Guessing Game - s Show
    01:45
  • 89
    Solution: Number Guessing Game - N Next Game
    04:40
  • 90
    Solution Number Guessing Game D Debug Toggle
    05:08
  • 91
    Solution: Number Guessing Game - M Move Toggle
    04:37
  • SECTION 6:
    Chapter 05 - Advanced Arrays
  • 92
    The Year of 19100
    07:25
  • 93
    Array In Context
    03:20
  • 94
    Context Sensitivity
    05:34
  • 95
    Filehandle In Scalar And List Context
    02:30
  • 96
    Slurp
    03:54
  • 97
    Pop And Push
    01:40
  • 98
    Loop Controls Next Last
    03:18
  • 99
    Shift And Unshift
    01:14
  • 100
    Shift
    02:00

RATING

  • 2
  • 1
  • 0
  • 0
  • 0
AVERAGE RATING
NUMBER OF RATINGS
3
  • 30 day money back guarantee!
  • Lifetime Access. No Limits!
  • Mobile Accessibility