Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PERL 5 Programming Course for Beginner to Advanced
Rating: 3.7 out of 5(41 ratings)
379 students

PERL 5 Programming Course for Beginner to Advanced

Enhance your skills of Programming with Perl fundamentals and advanced topics like Hashes, Subroutines, references etc.
Created byInflame Tech
Last updated 3/2019
English
English [Auto],

What you'll learn

  • OPERATORS
  • IF ELSE STATEMENTS, SWITCH STATEMENT, GO TO STATEMENT, LAST STATEMENT, NEXT STATEMENT, REDO STATEMENT etc.
  • FOR LOOP, WHILE, DO-WHILE LOOPS
  • ARRAYS
  • STRING & CHARACTERS
  • HASHES
  • SUBROUTINES
  • REFERENCES
  • PERL MYSQL CONNECT, INSERT, UPDATE, SELECT, DELETE etc.

Course content

1 section63 lectures6h 50m total length
  • Introduction to the Course1:19

    Start with Perl installation and basics like data types, loops, hashes, regex, and file handling; then explore object-oriented programming, socket programming, and api usage for databases and excel files.

  • 1.1 About This Course0:45

    Explore the goals and scope of a Perl programming course from beginner to advanced, including installation and core topics like operators, control statements, loops, and error handling.

  • 1.2 Introduction to PERL3:45

    Explore Perl, a cross-platform scripting language rooted in text processing, now powering web development, CGI, and system administration, with features like regular expressions, Unicode, thousands of modules, and open-source licensing.

  • 1.3 Downloading and Installing Perl IDE1:50

    Download and install the Perl IDE on Windows, choosing a destination, following installer prompts, and launching the IDE to begin coding in Perl.

  • 1.4 First Example3:41

    Write your first Perl program using print to display hello world with a newline; save as a .bill extension and run from editor or command line, using strict and warnings.

  • 1.5 Print and Say7:31

    Explore Perl 5 print and say: print vs say, interpolation in double quotes, single quotes avoidance, backslash escapes, and printing variables to control output with newlines.

  • 1.6 Perl STDIN3:31

    Learn to read user input from standard input (stdin) in perl, declare a scalar with my, and print a welcome message using the entered name.

  • 1.7 Data Types5:08

    Explore Perl data types by examining scalars, arrays, and hashes, including scalar constants like integers, floats, and strings, plus array and hash literals, interpolation, and escape sequences.

  • 1.8 Variables4:38

    Explore how perl 5 handles variables, including scalars ($), arrays (@), and hashes (%), with declarations via my and use strict, and how values are assigned and printed.

  • 1.9 Scalars9:02

    Master scalar variables in Perl 5 by declaring and assigning, or declaring and then assigning, exploring numeric and string context, and using special literals for file name, line, and package name.

  • 1.10 Operators6:52

    Explore Perl 5 operators, focusing on precedence and associativity, including auto increment/decrement, prefix and postfix forms, and arithmetic, concatenation, shift, and assignment and logical operators.

  • 1.11 Operator Types10:33

    Explore Perl 5 operator types, including numeric and string operators, logical and bitwise operators, and assignment and comparison operators. See practical examples and short-circuit evaluation.

  • 2.1 IF-ELSE7:04

    Master Perl 5 if, else, and else if constructs by exploring true/false conditions, code blocks, and flowcharts, with hands-on examples handling even/odd checks and grades through user input.

  • 2.2 Switch Statement3:21

    Demonstrate the switch statement in C, using cases and a default to print a grade based on user input, with a hands-on example.

  • 2.3 Goto Statement2:36

    Explore the perl 5 goto statement, its three forms—goto label, goto expression, and goto subroutine—and a looping example that decides voter eligibility.

  • 2.4 Comments2:10

    Explore how comments in perl 5 improve understanding by explaining they don't affect execution; single line comments use a hash and multi line comments use =begin and =cut.

  • 2.5 Last Statement6:22

    Learn how the Perl last statement exits loops, including using a label to exit an outer loop. The lecture demonstrates a hash-based price lookup with user input.

  • 2.6 Next Statement4:20

    Learn how the Perl 5 next statement controls loop flow, skipping iterations with for loops and labels, illustrated with arrays and nested loops.

  • 2.7 Redo Statement2:44

    Explore the Perl redo statement and how it restarts the current loop. See a hands-on example tracing a variable, re-evaluating the if block, and printing results.

  • 2.8 for loop4:34

    Explore the perl 5 for loop, detailing initialization, condition, and increment, with a 1 to 10 example, nested loops, and infinite loops stopped by control-C.

  • 2.9 while loop3:27

    Explore how the while loop in Perl evaluates a condition before each iteration, executes the loop body when true, and includes examples printing 1 to 10 and nested loops.

  • 2.10 do while loop3:27

    Explore the do while loop and its at least once execution, compare it with a while loop, and view examples printing numbers 1 to 10, including nested and infinite forms.

  • 3.1 Array7:09

    Explore how perl stores arrays of scalar values, referencing elements as $array[index], and use the range operator .. to generate 1–10 and a–z sequences, with zero-based indexing.

  • 3.2 Multidimensional Array5:06
  • 3.3 Array with Loop3:19

    Explore arrays with loops in perl 5, using for each, for, and while loops to access and print elements by value and by index.

  • 3.4 Adding and Removing Elements in an Array4:25

    Learn to add elements at the end and the beginning of an array, and remove from ends using push, pop, and shift, with a coins array hands-on example.

  • 3.5 Operations on Arrays12:03

    Explore Perl 5 array operations, including slicing and splicing, replacing elements, splitting strings into arrays, joining arrays into strings, sorting elements, and merging arrays through practical examples.

  • 4.1 String12:54

    Declare and initialize strings in Perl with single or double quotes and a dollar scalar. Concatenate using the dot operator and manipulate with substr, length, eq, and substitution with s///.

  • 4.2 Escaping Characters6:47

    Master string escaping in Perl 5 by learning how to print email addresses, special symbols, backslashes, and quotes, and using single-quote and qq/q operators to control interpolation.

  • 4.3 Regular Expression15:15

    Explore regular expressions in Perl 5, including operators such as equal to and not equal, with modifiers to control string matching. See substitution and transliteration operators with default variables.

  • 5.1 Perl Hashes4:50

    Explore Perl hashes as a versatile key–value data structure, including initializing, adding, deleting, and accessing entries, then printing a hash and a single value with Data::Dumper.

  • 5.2 Iterating Over Hash Elements in Perl4:39

    Iterate hash elements in Perl using each and keys, compare while with each versus for each with keys, and note that hash order is not guaranteed.

  • 5.3 Maintaining Order in Perl Hashes5:28

    Learn to maintain order in Perl hashes by sorting keys and iterating with for each. Explore string-key and numeric-key examples and print sorted results.

  • 5.4 Find Number of Entries in a Hash1:48

    Learn how to determine the number of entries in a hash in perl 5 by retrieving keys and using scalar context to count them, with a practical example.

  • 6.1 Perl References5:38

    Explore how to create and use references in Perl 5, using the backslash operator to reference scalars, arrays, hashes, and subroutines, and access them with the arrow operator.

  • 6.2 Passing Reference to an Array Into a Subroutine3:02

    Learn how to pass an array by reference into a Perl 5 subroutine, print each element using shift, and demonstrate with apple, orange, and banana.

  • 6.3 Returning a Reference to the Hash from a Subroutine3:18

    Learn how to return a reference to a hash from a Perl 5 subroutine, create and populate the hash, and iterate its keys and values to print them.

  • 6.4 Passing References to File Handles to Subroutines3:16

    Learn how to create references to file handles in perl 5, pass them to subroutines, and manage open files and writes, including basic object-oriented usage.

  • 6.5 Types of Perl References4:19

    Learn about the different Perl references by creating subroutines, introducing code references and hash references, and printing their reference kinds.

  • 7.1 Modules and Namespace5:17

    Explore how Perl modules group variables and subroutines into namespaces, expose public interfaces, and switch contexts with package and use statements, illustrating package versus lexical variables.

  • 7.2 Functions and Subroutines8:30

    Explore how to define and call subroutines in Perl 5, pass arguments, and handle lists, hashes, and local versus global variables.

  • 8.1 File Handling11:33

    Learn how to create, open, read, write, append, and copy files in Perl 5 using open and close, including single-line and multi-line reads and UTF-8 encoding.

  • 8.2 File Test Operators6:23

    Learn to use Perl 5 file test operators to check existence, type, size, time, ownership, and permissions, including -e -f -d -r -w -x.

  • 8.3 Reading a CSV File6:12

    Learn to read a comma separated values file in perl 5 by opening it, skipping header, looping through lines, splitting on commas into first name, surname, and job, and printing.

  • 8.4 chop() and chomp()4:19

    Learn how chop() removes the last character from a string and how chomp() strips a trailing newline in Perl 5, with hands-on examples showing the syntax and outputs.

  • 9.1 Directories in PERL10:29

    Perl 5 directories lecture demonstrates opening, reading, and closing directories with opendir, readdir, and closedir; creating, removing, and changing directories; and using getcwd to report current directory with glob filtering.

  • 10.1 Error Handling9:34

    Explore Perl 5 error handling, including open or die, the die function and $! variable, warnings with warn, and confess reporting from the Carp library.

  • 11.1 Object Oriented Programming10:02

    Learn Perl 5 object-oriented programming by defining packages, classes, and objects, creating constructors with bless, and using helper methods to get and set object data.

  • 11.1.1 Inheritance5:22

    Learn how Perl class inheritance enables a subclass to inherit properties and methods from a parent class, creating an is-a relationship, with default auto loading for undefined subroutines.

  • 11.1.2 Polymorphism5:55

    Explore polymorphism by inheriting and overriding base class methods in a child class, adding or modifying functionality, with hands-on examples using an employee package and overridden constructors and helpers.

  • 11.1.3 Destructors and Garbage Collections1:34

    Explore destructors and garbage collection in Perl 5 by implementing a destroy method to free memory, close files, and perform extra processing when objects go out of scope.

  • 11.2 Date and Time15:36

    Explore how Perl 5 handles date and time with localtime, gmtime, and time, and learn to create and format date time objects using explicit components and strftime-like directives.

  • 11.3 Perl Command Line Arguments8:33

    Learn perl command line arguments with @ARGV, handling required inputs, default values, and looping through arguments, plus parsing options with GetOptions for long options and a sample age check.

  • 11.4 Perl with Excel File5:57

    Learn to use the Perl Excel module to create and read Excel files, build workbooks with worksheets, and write data to cells before saving and closing the file.

  • 11.5 Socket Programming13:00

    Learn socket programming by building a simple client–server in perl, using socket, bind, listen, accept, connect, and exchange data over tcp/ip.

  • 12.1 Perl MySQL Connect7:25

    Learn to connect to and disconnect from a database using the portal VBA API, configuring data source names, drivers, credentials, and error handling.

  • 12.2 Perl MySQL Create Table9:27

    Learn to use Perl 5 with DBI and DPA API to connect to a MySQL database, create three tables (tags, links, link_tags) with primary and foreign keys, and verify creation.

  • 12.3 Perl MySQL Insert Data12:14

    Learn to insert data into a MySQL database with Perl using prepared statements and a database handle, including validation, execution, error handling, and clean disconnect.

  • 12.4 Perl MySQL Transaction11:07

    Learn how to use perl to manage MySQL transactions, ensuring ACID properties with autocommit control, begin transaction, and commit or rollback to maintain data integrity.

  • 12.5 Perl MySQL Select Data15:15

    Learn to connect to a MySQL database with Perl, prepare and execute select statements, fetch results, and perform multi-table joins and data dumps across links, tags, and scores.

  • 12.6 Perl MySQL Update Data6:47

    Update data in a MySQL table using Perl by preparing an update statement, binding parameters, connecting to the database, executing the statement, and verifying the record is updated.

  • 12.7 Perl MySQL Delete Data7:36

    Learn how to delete data in a MySQL table with Perl by using delete statements and placeholders, truncate related tables for efficiency, and manage foreign keys with cascade.

  • 12.8 Reading and Parsing XML10:49

    Read and parse nested Perl data structures, such as bands and albums with chart positions, using Data::Dumper and simple modules, via a main subroutine that traverses hashes and arrays.

Requirements

  • C PROGRAMMING & UNIX

Description

Inflame Tech's "PERL 5 Programming Course for Beginner to Advanced" course teaches you everything you need to know to become an expert Perl developer right from the basics and enables you to develop useful applications which are used in the industry very often.

"PERL 5 Programming Course for Beginner to Advanced" course introduces you to the basic concepts, terminology and hands-on exercises that will help you design Perl applications. You will understand the Perl syntax, data types, regular expression, file operations, working with web servers etc. We will also introduce you to Perl coding standards. Advanced Perl topics like Destructors, Garbage Collections, Perl MySQL Connectivity will also be covered. The Course will cover specific case studies and use cases from potential real-world applications of Perl.

The following professionals can go for this Perl course:

  1. Network admins

  2. Test Engineers

  3. Automation Engineer

  4. Software engineers who want to use Perl

Who this course is for:

  • Network admins
  • Test Engineers
  • Automation Engineers
  • Software engineers who want to use Perl