O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Perl Fundamentals

Video Description

Author Joshua Mostafa takes users through the versatile and powerful programming language known as PERL, a server side language whose primary duty is to handle dynamic content and service clients on the Internet. What separates PERL from other scripting languages is its flexibility. Users don't need to code in a certain way to effectively use PERL and have fun doing it. Joshua shows you what tools you need to get started in PERL and what resources to visit in order to perfect your scripting. Start learning now by clicking one of the topics below!

Table of Contents

  1. Concepts
    1. Welcome: what is Perl? 00:02:12
    2. Perl and the Web 00:02:44
    3. Static Web content 00:02:37
    4. Dynamic Web content 00:03:30
    5. What you'll need: 1 00:04:03
    6. What you'll need: 2 00:05:10
    7. Your first script: 'hello world' 00:03:44
    8. Running your first script on a web server 00:04:04
  2. First Steps
    1. Program flow 00:06:04
    2. Variables 00:05:34
    3. Strings and quotes 00:04:51
    4. More about strings 00:04:40
    5. Basic operators 00:05:39
    6. Combined operators 00:04:25
    7. More combined operators 00:06:03
  3. Data Types
    1. Scalars, hashes and arrays 00:02:35
    2. Working with arrays 00:03:16
    3. More about arrays 00:04:35
    4. Array functions 00:04:40
    5. More array functions 00:05:46
    6. Multidimensional arrays 00:06:37
    7. Taking elements out of arrays 00:04:53
    8. More array manipulation 00:05:00
    9. Working with hashes 00:05:23
    10. Extracting data from hashes 00:03:23
    11. Multidimensional hashes 00:06:21
    12. Now you try: Data Types 00:01:10
  4. Making Choices
    1. Introducing conditionals 00:03:42
    2. Conditional operators 00:03:06
    3. Conditional blocks 00:04:06
    4. The equality operator 00:04:38
    5. String comparison operators 00:04:48
    6. 'else' clauses 00:02:28
    7. The 'elsif ladder' 00:04:16
    8. Logical operators 00:06:01
    9. Nested conditionals 00:07:37
    10. Now you try: Choices 00:02:00
  5. Loops and Control Structures
    1. Repetition: the 'while' loop 00:04:35
    2. Using the 'while' loop 00:03:43
    3. The 'do..while' loop 00:03:34
    4. Iteration: the 'for' loop 00:04:50
    5. Looping over an array 00:05:22
    6. Nested loops 00:04:36
    7. The 'foreach' loop 00:07:02
    8. Now you try: Loops 00:01:15
  6. Strings and Pattern Matching
    1. Extracting a substring 00:03:52
    2. Locating a substring: 1 00:02:25
    3. Locating a substring: 2 00:02:34
    4. Changing case 00:03:05
    5. Here-document style strings 00:02:57
    6. Introducing regular expressions 00:05:14
    7. Matching simple patterns 00:04:02
    8. Case-insensitive pattern matching 00:02:41
    9. Matching globally 00:05:16
    10. Wildcards 00:05:38
    11. Character sets: 1 00:03:19
    12. Character sets: 2 00:03:09
    13. Quantifiers 00:04:23
    14. Using quantifiers: 1 00:03:24
    15. Using quantifiers: 2 00:03:23
    16. Alternation 00:03:59
    17. Subpatterns: 1 00:03:42
    18. Subpatterns: 2 00:03:14
    19. Greedy vs non-greedy quantifiers 00:04:27
    20. Examples of non-greedy matching 00:05:36
    21. Replacing using patterns 00:06:00
    22. Subpattern replacement: 1 00:02:23
    23. Subpattern replacement: 2 00:05:01
    24. Now you try: Strings 00:03:40
  7. Interacting With The Filesystem
    1. Reading from a file 00:03:44
    2. Writing to a file: 1 00:03:29
    3. Writing to a file: 2 00:02:11
    4. Writing to a file: 3 00:04:16
    5. Reading a file's contents at once 00:05:39
    6. Changing the default output filehandle 00:03:30
    7. Reading user input from the command line 00:02:48
    8. An interactive shell script 00:04:45
    9. Refining the script: 1 00:03:30
    10. Refining the script: 2 00:04:12
    11. The script complete 00:05:51
    12. Working with directories 00:04:09
    13. Changing the current working directory 00:03:43
    14. Running executable files: 1 00:02:51
    15. Running executable files: 2 00:04:11
    16. Command-line arguments 00:06:20
    17. Now you try: Interacting with Filesystems 00:01:17
  8. CGI
    1. Running a CGI script on 'localhost' 00:03:59
    2. Checking errors 00:05:10
    3. Uploading your script: 1 00:02:14
    4. Uploading your script: 2 00:04:28
    5. Environment variables: 1 00:03:02
    6. Environment variables: 2 00:03:23
    7. Serving HTML 00:03:51
    8. The query string 00:04:18
    9. Accessing GET variables 00:05:56
    10. Handling URL-encoded characters 00:05:08
    11. Using HTML forms 00:05:08
    12. Reading POST data 00:02:51
    13. Now you try: CGI 00:02:54
  9. Intermediate Coding Techniques
    1. Reusing code 00:03:35
    2. Subroutines 00:03:31
    3. Arguments 00:04:17
    4. Returning a value 00:03:52
    5. Explicit returns 00:03:59
    6. Variable scope 00:04:53
    7. Modules and Packages: 1 00:05:43
    8. Modules and Packages: 2 00:01:54
  10. Database Interactivity
    1. Perl and databases 00:02:30
    2. Connection handles 00:04:13
    3. Statement handles 00:04:13
    4. Running the script 00:01:20
    5. Using placeholders in SQL 00:04:56
    6. Now you try: Database Interactivity 00:02:14