Mô tả

This course will teach you Perl through a multi-sensory approach.

- You will hear about Perl in lectures.

- You will see Perl work through live examples.

- You will touch Perl physically by working with the dozens of downloadable working Perl programs you will have access to and that are used in the live examples.  You can use these programs to experiment with and as templates for your own Perl programming.

- You will touch Perl mentally by working on the exercises and writing your own Perl programs.

Some of the basic and intermediate level Perl skills you will learn in this course include:

* Downloading and installing Perl on your computer

* Using Perl to work with numbers and strings.  This could be used to do mathematical calculations and to manipulate strings.

* Read data into your programs (for example, .csv files, data from the keyboard, regular files, etc.), detect data patterns, and alter that data with regular expressions and various Perl functions

* Store lists of data in arrays and hashes

* Use subroutines to create larger programs and to break your programs up into manageable pieces

* Access and use ready-made code (modules)

* Create, modify, read, write, and append files.  Combine files, concatenate files.

* Use File Tests to get information that you can use to make decisions about files, much like you'd do as a systems administrator.

* Use References to Create complex data structures (e.g. arrays of arrays, hashes of hashes, hashes of arrays, and arrays of hashes). 

* See all of the above in action and practice what you learn by writing your own programs

Bạn sẽ học được gì

Students will learn how to use Perl as a tool to solve problems at work and to enhance their resumes. This course uses a multi-sensory approach to teaching Perl. In other words, you will Hear about Perl in lectures, See Perl in action through live demos, touch Perl by downloading and experimenting with any of the dozens of available program examples, and work with Perl Mentally by going through the exercises.

Yêu cầu

  • You should be comfortable using a computer. Your computer skills should include the following: (1) the ability to get on the Internet and go to websites; (2) the ability to access and use your computer's command line; (3) knowledge of how to navigate folders or directories on your computer; (4) the ability to create and edit text files on a Windows computer, or regular files on a Unix-based computer. Also, some programming knowledge will be very helpful.

Nội dung khoá học

16 sections

Introduction

4 lectures
Introduction
03:15
What You Get, What to Expect, and How to Get the Most Out of This Course
01:36
Course Downloads
03:43
Course pre-requisites.
01:26

Getting Started: Finding or Installing Perl on Your Computer

3 lectures
Finding Perl on a Unix or Linux computer.
03:56
Downloading Perl onto a Unix or Linux computer.
05:51
Finding Perl on a Windows Computer
05:25

Creating Your First Perl Program

1 lectures
Hello, World Created, Explained, and Run
08:22

Getting Data Into Your Perl Program

10 lectures
Perl Number Literals -- what they are and how to work with them
15:10
Perl String Literals and String Scalars
10:58
String Exercise Solution and Perl Strings Review
05:59
Getting User Input into Your Perl Programs
07:34
Perl Operators and Solving a Classic Computer Science Problem with Perl
14:03
If control structures and Comparison Operators
07:50
While loops, Operator Precedence and Associativity
19:17
Exercising Your New Knowledge!
04:45
Exercise Key
06:12
Section 4 Challenge program
09:56

Working with Arrays in Perl

8 lectures
Lists, Arrays, and Array Operators
12:15
Push and Pop programs to play with, plus an Exercise using the Splice operator
04:29
Getting to Array Values, More Array Operators
08:01
Looping through Arrays with "foreach" and "each"
06:09
How Perl views the "Context" of Arrays
07:32
Exercises Using Arrays
04:28
Array Exercise Solutions
09:31
More (Optional) Array Exercises
05:56

Perl Subroutines

6 lectures
Subroutines - What they are and how to create them
10:08
Subroutine Example
10:28
Subroutine Variables, Return Values, and Odds & Ends
05:19
Subroutine Exercise
04:28
Subroutine Exercise Key
07:48
More (Optional) Subroutine Exercises
05:37

Perl Input and Output

9 lectures
The "Line Input Operator" and Perl's Favorite Default Variable
08:35
The "Diamond Operator" method of data input
05:34
Output using the "print" operator
05:37
Output using the "printf" operator
08:41
Input and Output using File Handles
10:01
Ensuring File Handles open successfully, and the "say" operator
09:31
Input, Output Exercise
04:56
Input, Output Exercise key
07:33
More (Optional) Input and Output Exercises
05:55

The "Hash"

7 lectures
Intro to Hashes in Perl
07:46
Getting Values into and out of Hashes
07:46
Hash Interpolation
04:09
Hash Examples
05:26
Exercise using Hashes
02:29
Hash Exercise Key
05:34
More (Optional) Hash Exercises
04:26

Regular Expressions

20 lectures
Introduction to Regular Expressions
09:28
Regular Expression Example # 1
05:09
Regular Expression "Back References" and "Character Classes"
12:18
Regular Expression Example # 2
02:25
Regular Expression Exercises 1
03:15
Regular Expressions Exercise 1 Key
03:03
The Pattern Match Operator and Match Modifiers
08:08
Modifiers Continued along with "Anchors"
10:31
Regular Expression Exercises # 2
04:06
Regular Expression Exercises # 2 Key
07:48
The "Binding" Operator and "Match Variables"
07:55
Regular Expression Exercises # 3
01:18
Regular Expression Exercises # 3 Key
03:47
More on Match Variables
04:09
General Quantifiers and Regular Expression Precedence
06:11
More (Optional) Regular Expression Exercises
10:17
The Perl "Substitution", "Split", and "Join" operators
12:35
Perl Greediness; Substitution, Split, and Join Examples
10:52
Regular Expression Exercises #4 and #5
08:10
Regular Expression Exercises #4 and #5 Solutions
13:29

More Control Structures

8 lectures
Unless and Until
07:03
Unless Exercise and Solution
05:04
Naked Control Blocks, Auto-Increment and Auto-Decrement
06:04
"For" and the Ternary Operator
10:23
Example Program and Exercise
07:55
Another program and Exercise Challenge
10:13
Logical Operators
05:06
Logical Operator Program and Exercise
05:40

Ready-made Perl code for YOU -- i.e. Modules

7 lectures
Introduction to Perl Modules -- What they are
08:22
Using Perl Modules
09:09
Working with Module Subroutines
07:58
Installing Modules
09:53
Module Exercise
01:47
Module Exercise Solution
02:16
Adding Modules Offline
14:48

A Most Powerful Perl Capability -- References

10 lectures
What is a Reference?
10:00
Nested References
08:03
Dereferencing and Dereferencing Exercise
06:26
Dereferencing Exercise Solution
11:31
The Simplest Dereferencing Form
05:31
Anonymous References and Exercise
13:58
Anonymous Reference Exercise Solution and More Exercises
08:45
More Anonymous Reference Exercises
21:50
More Anonymous Reference Exercise Solutions
09:09
Hash References and a Hash Reference Exercise
14:48

File Tests -- Getting Information About Files

6 lectures
What are File Tests, how do You run them, which ones are Available for your use?
12:49
File Test Exercise solution and Getting File Age and Size Info using File Tests
08:56
File Test Exercise and Solution where File Tests are Used to Discover File Type
03:46
Accessing the Power behind File Tests -- The "stat" function
17:59
Programmatically determining file Size and Timestamps and a Timestamp Exercise
12:04
Stat and Localtime function exercise solution
04:55

Working with Directories

8 lectures
Intro to Directory Operations
20:54
Directories Explained
09:55
Combining Recursion with Directory Operations
21:36
Exercise 1 and Challenge Exercise
12:42
Finding and Linking Files using Recursive Directory Operations Programs
13:29
Using Perl's $^I variable to Change Thousands of Files in seconds
12:27
Exercises 2 and 3 -- changing permissions with Perl; globbing
03:25
Exercise 2 and 3 solutions
05:29

Advanced Sorting

7 lectures
Finding the location of strings within larger strings with the "index" command
09:13
"index" command Exercise solutions
08:29
Extracting strings out of larger strings with the "substr" command
14:00
Intro to Advanced Sorting
12:13
Advanced Sorting Exercise solution and Sorting Hashes
10:05
Advanced Sorting of Unconventional Data
19:08
Advanced Sorting Unconventional Data Exercise Solution
15:48

Conclusion

1 lectures
Conclusion
01:32

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.