
Learn to analyze text with Perl, generate and format reports, and share results via email for administrators while practicing with sample projects and building a portfolio for Unix/Linux roles.
Install and test your Perl environment and IDE, learn to create your first Hello Pearl program, explore advanced Perl examples, and preview real-world Perl applications.
Install and verify your perl environment across Windows, Mac, and Unix-like systems using Strawberry Perl. Check the installation with which perl and what is perl to confirm a ready setup.
Create your first Perl program in the Padre IDE, using a shebang line to run Perl, save as a .pl file, and print prompts with user input.
Learn advanced Perl programs that prompt for weather input and use conditional logic to suggest outfits based on temperature thresholds.
Demonstrates reading from and writing to a text file using Perl. Shows managing a file handle, using open, closing, and appending data to create a readable output.
Install and set up your Perl environment, test and deploy Perl applications, and review your first pro program with real-world examples of sophisticated, company-ready Perl projects.
Explore strings, numbers, and variables in Perl, learn to get user input and use the chomp operator, and apply decision making with if and else-if statements and while statements.
Explore scalar data in Perl by storing single values, numbers and strings, in scalar variables; then use arithmetic operators and print results from example programs.
Learn how to work with strings in perl, including single-quoted and double-quoted literals, escape sequences for single quotes and backslashes, newline and tab, and string concatenation with the dot operator.
Explore how Perl represents numbers as floating point values, including integer literals, and work with decimal, exponential (E), octal, hex, and binary literals, plus arithmetic, modulus, and power operators.
Explore variables in Perl by declaring named containers with a leading dollar sign, assigning values, and printing them; learn double-quote interpolation versus single-quote literals.
get user input in perl using the line operator <STDIN>, store it in a variable, remove the trailing newline with chomp, and print the name in a loop until zero.
Learn how the chomp operator, a built-in Perl operator, removes trailing newline characters from strings to produce cleaner, horizontally formatted output.
Learn how to decide program flow in Perl using if and else if statements, comparing numbers with numeric operators and strings with string comparisons.
Explain how while loops execute a code block while a condition is true, updating a sum and a counter, and stopping when the condition becomes false.
Define and assign strings and numbers to scalar variables, use user input and if statements with loops, and learn the differences between real and floating point numbers in Perl.
Learn to create arrays and lists in Perl, access elements by indices, convert arrays to strings, and use for each loops with scalar and list context and standard input.
Learn how to create arrays in Perl by declaring an array with the at symbol, assigning mixed values of strings and numbers, and printing them with proper spacing and newlines.
Learn how to access array elements by indices in perl, using the array name with square brackets and a zero-based index to retrieve single scalar values and print them.
Learn how to create lists in Perl by assigning specific values to array indices, using both parentheses and the quoted words operator, and modifying elements like Victor to Davis.
Learn how to perform list assignments in Perl by assigning multiple scalar variables in one line, using quoted words and array references to access and print list elements.
Convert arrays into strings using the join function, specifying a string separator such as a comma, and learn how to apply it to arrays to produce a single string.
Use the foreach loop to iterate over an array and print each element on a new line, defining a names array with values using the qw operator.
Learn how Perl distinguishes scalar and list contexts, using scalar variables, arrays, and list assignments to produce single or multiple values.
Master reading standard input in scalar context with the line operator in perl. Capture keyboard input via stdin and use chomp to remove the trailing newline before printing.
Review Perl arrays and lists, covering creating arrays, accessing by indices, converting to strings for printing, and using while and for each loops, plus scalar and list context.
Explore subroutines in Perl programming for beginners, including definitions, calling, return values, arguments, and variable length parameter lists, with private variables and practical use cases.
Learn how to define your own subroutines in perl using the sub keyword, valid identifiers, and a curly brace block, while leveraging built-in subroutines like print.
Learn to define and call subroutines in Perl using the ampersand followed by the subroutine name, with examples like print_name and add_numbers and their outputs.
Define a subroutine to perform a math operation and return the result, then print it and store the returned value in a scalar variable using the add_underscored_numbers subroutine.
Subroutine arguments in Perl show how user input passes into a subroutine, declare scalar variables, and use @_ to access those values for a hello greeting.
Learn how Perl handles variable length parameter lists in subroutines using special array @_ and for each to print all passed values, demonstrating unlimited arguments in the add numbers subroutine.
Learn how the return operator immediately returns a value from a subroutine, halting further code, and how to apply it in loops to exit on a match.
Learn how to declare private variables inside subroutines in Perl with the my operator, keeping x and y local to the add numbers subroutine and its scope.
Explore how to define and call subroutines, return values, and pass arguments with a variable length parameter list, while managing private variables and using the return operator.
Learn to receive input from standard input and the diamond operator. Output to standard output with print and printf-style formatting, manage file handles, and handle fatal errors with die.
Learn to receive input from standard input using the line operator, store it in a scalar variable, trim the newline with chomp, then read two numbers and sum.
Learn to read from files using the diamond operator in perl, feeding invocation arguments as text files, then loop through lines with a while and defined operator.
Learn how to send output to standard output using the print operator, printing strings, numbers, and arrays, with interpolation and escape characters for clean formatting.
Learn to use printf in Perl to format output with a format string and conversion types like %s, %d, %g and %f, including filling in blanks and performing simple calculations.
Explore using file handles to connect Perl to text files, open for reading or writing, read lines with a while loop, print results, and manage standard input, output, and error.
Learn how to handle fatal errors in Perl using the die function to print friendly messages, exit cleanly, and diagnose with $! showing the error, program name, and line number.
Explore receiving input from standard input and text files via the diamond operator, and print with print and print f, formatting floating point output and handling fatal errors with die.
Learn how to define and access hashes in Perl, explore hash elements and their values, and use built-in Perl functions to work with hashes, with a concise outro recap.
Define and demonstrate Perl hashes as a string-keyed, unordered data structure. Create key–value pairs with percent sign, use curly braces for indexing, and print values.
Learn to access hash elements in perl by prefixing the hash with a dollar sign, using curly braces with a string key in double quotes, and print or update values.
Explore hash functions in Perl by using keys and values to retrieve entries, and each to iterate through key-value pairs, printing and sorting as needed.
Define and set up hashes, demonstrating structure and assigning values for practical use. Access each hash element and use hash functions to check if a name exists in the hash.
Learn how to use regular expressions in Perl, from defining patterns to character classes, the M operator, match modifiers, the binding operator, and match variables.
Learn how regular expressions defined in Perl match or not match strings, using slash-delimited patterns to find whole-string or partial matches, and test outcomes with if statements.
Explore matching simple patterns against strings using a pattern between two forward slashes, with outcomes like match found or not found, and apply AI after the expression for case-insensitive results.
Learn to use perl's character classes to match single characters with square brackets and hyphen ranges, including digits 0–9 and custom sets, via practical examples.
Master perl pattern matching with the m// operator and alternate delimiters such as curly braces, percent, and square brackets, anchor patterns at the start with the caret, and detect matches.
Explore match modifiers in perl, including the case insensitive i and the global replacement g, to replace all Victor instances with Jaidyn via the substitution operator.
Explore the binding operator in perl, which matches a right-hand pattern against a left-hand string using scalar variables, with the assignment tilde syntax and optional case-insensitive control.
Master match variables in Perl by capturing substrings with patterns and storing them in variables like $1, $2, and $3. Use dot, asterisk, and word boundaries to extract and print.
Explore how regular expressions are defined and used with simple patterns, character classes, match modifiers like global and case-insensitive, the binding operator, and match variables.
Learn substitutions with the s operator, work with split and join functions, and explore matching in list context within Perl's regular expressions.
Explore how to use grep to match patterns in a list, apply case-insensitive and global modifiers, and work with arrays and scalar context in Perl.
Master the Perl substitution operator (s///) to replace patterns in strings, using global (g) and case-insensitive (i) modifiers to transform Perl to Java.
Perl's split function breaks a string into an array using a pattern, returning tokens. See examples with tab, space, and semicolon separators and how to print the results.
Learn how the join function in Perl glues an array of values into a single string using a separator, with practical examples showing spaces, commas, semicolons, and colons.
Master perl basics by applying the ace operator for substitutions, using the split and join operators, and applying matching and list context with the grip function.
Walk through building the final project in Perl, using subroutines to search, add, and list customers on Joe's Bar and Grill guest list, guided by an if control structure.
Practice building a Perl final project by extracting names from a text file, organizing code into subroutines, and implementing a user option menu.
Learn to build a perl guest list app that loads names from file, searches customers with for each and lc, and uses a user menu to add or find names.
Learn to save and reload names to a file, overwrite and append data using a Perl workflow, and build a text file database for the final project.
The world of programming has become almost saturated with different languages, all created for different purposes but developed for use in multiple applications. For those just delving into the world of programming, this can be a little overwhelming. Luckily, there are plenty of languages that are simple to learn, highly versatile to use, and make a great starting point for gaining fluency in the coding universe. Perl is one of those languages, and this course will teach you everything you need to know.
Perfect Perl the Easy Way
Work with different data types including strings, numbers, variables and user input
Create and use array, subroutines, hashes, and regular expressions in Perl applications
Gain a conceptual understanding and practical skills to construct your own levels
Become competent with the Perl language family and its use in various applications
Prepare a foundation of knowledge for learning other more complex languages.
Become an Expert in Perl Applications
This course has been specifically designed for those who have an interest in programming, but still consider themselves to be beginners. Those who already have programming experience but want to learn the basics and concepts of Perl will also find it perfectly suitable.
With over 70 lectures and 7.5 hours of content, this is a true crash course that will get you up to speed in no time. You'll get to grips with Perl fundamentals and design a Perl application, as well as creating automated applications that do the work for you and advanced text analyser applications. But don't worry – you'll work from the bottom up and progress at a pace that suits you, starting off with installation and creating more complex applications with each stage.
Along the way you'll pick up various Perl fundamentals like scalar data, arrays and lists, subroutines, input and output, hashes, and regular expressions before tackling your final project. By the end of the course, you'll be ready to use Perl in a wide range of real world applications.
Tools Used
Perl is a family of general purpose dynamic programming languages originally developed for text manipulation. Over time it has undergone many expansions and revisions and is now used for everything from system administration to GUI development. As it borrows elements from many other programming languages, it makes an excellent jumping-off point for those just beginning to expand their knowledge of programming.