- Introduction to Perl: A Powerful Scripting Language
- Setting Up Your Perl Development Environment
- Your First Perl Program: "Hello, World!"
- Understanding Perl’s Syntax and Structure
- Variables and Constants in Perl
- Data Types in Perl: Scalars, Arrays, and Hashes
- Basic Operators in Perl: Arithmetic, String, and Logical Operators
- Working with Strings in Perl: Concatenation, Substrings, and More
- Control Flow: If-Else, While Loops, and For Loops
- Introduction to Functions in Perl
- Using Subroutines and Passing Parameters
- Returning Values from Functions in Perl
- Working with Arrays in Perl: Indexed Arrays
- Manipulating Arrays in Perl: Push, Pop, Shift, Unshift
- Working with Hashes in Perl: Key-Value Pairs
- Manipulating Hashes in Perl: Adding, Deleting, and Modifying
- File Input and Output in Perl
- Reading from and Writing to Files in Perl
- Error Handling in Perl: Using
die
and warn
- Regular Expressions in Perl: A Primer
- Using Pattern Matching in Perl with Regular Expressions
- Grouping, Capturing, and Backreferences in Perl Regex
- Advanced Regular Expressions in Perl
- Working with File Handles in Perl
- Working with Command Line Arguments in Perl
- String Manipulation Techniques in Perl
- Introduction to Perl’s Contexts: Scalar and List Contexts
- Perl’s Special Variables and $_
- Working with Scalars: String and Numeric Contexts
- Conditional Expressions and Shortcuts in Perl
- Loops and Iterators in Perl
- Understanding References in Perl
- Using References to Scalars, Arrays, and Hashes
- Working with Anonymous Subroutines in Perl
- Introduction to Object-Oriented Programming (OOP) in Perl
- Creating and Using Classes and Objects in Perl
- Inheritance in Perl: Building on Base Classes
- Encapsulation and Methods in Perl OOP
- Understanding Perl’s Memory Management
- Understanding Perl’s Auto-Variables and Special Variables
- Using Perl’s Built-in Functions and Modules
- Installing and Using CPAN Modules in Perl
- Advanced Array Techniques in Perl: Slicing and Mapping
- Using Perl’s
map
and grep
Functions
- Creating and Using Perl Modules
- Debugging Perl Code: Using
warn
, die
, and the perl -d
Flag
- Unit Testing in Perl with
Test::Simple
and Test::More
- Working with Dates and Times in Perl
- Interfacing Perl with the Web: CGI Programming
- Perl’s
sort
and reverse
Functions for Sorting Data
- Advanced Regular Expressions: Lookaheads, Lookbehinds, and More
- Using Perl’s
Tie
Feature for Custom Data Structures
- Working with Files and Directories:
File::Find
and Path::Tiny
- Using Perl’s
DBI
Module for Database Connectivity
- Working with MySQL/PostgreSQL Databases in Perl
- Using
Perl::Critic
for Code Quality and Style Enforcement
- Advanced Debugging in Perl with
Devel::StackTrace
- Creating and Using Perl’s
LWP::UserAgent
for Web Scraping
- Creating Web APIs with Perl’s
Dancer2
Framework
- Web Application Development with Mojolicious in Perl
- Writing Network Programs in Perl: Sockets and TCP/IP
- Concurrency in Perl: Threads and Forking
- Parallelism in Perl with
Parallel::ForkManager
- Creating and Using Custom Perl Modules
- Building a Perl Web Scraper Using
WWW::Mechanize
- Working with XML in Perl: Using
XML::LibXML
- Working with JSON in Perl: Using
JSON
and Cpanel::JSON::XS
- Perl and REST APIs: Building RESTful Services
- Security Best Practices in Perl: Avoiding Common Pitfalls
- Creating Command-Line Utilities in Perl
- Advanced Object-Oriented Techniques in Perl
- Using Moose: Modern Object-Oriented Perl
- Writing Efficient Perl Code: Performance Tuning and Profiling
- Managing Processes and Signals in Perl
- Building a Command-Line Parser in Perl
- Working with Bioinformatics Data Using Perl
- Exploring Perl’s Source Code and Extending Perl
- Optimizing Memory Usage in Large Perl Programs
- Working with Binary Data in Perl
- Creating Perl Daemons: Long-Running Processes
- Interfacing Perl with Other Languages: Python, C, and Java
- Creating Graphical User Interfaces in Perl with
Tk
- Web Frameworks in Perl: Catalyst, Mojolicious, and Dancer
- Perl’s
IO::Socket
for Networking Applications
- Event-Driven Programming in Perl with
AnyEvent
- Asynchronous Programming in Perl
- Advanced Testing in Perl: Mocking and Test Automation
- Using
XS
for Performance: Writing Perl Extensions in C
- Building a REST API with
Mojolicious
- Logging in Perl: Using
Log::Log4perl
- Writing Multithreaded Perl Applications
- Working with Cloud Services Using Perl (AWS, Google Cloud)
- Distributed Computing with Perl: Using
Perl::Parallel
- Containerization and Deployment of Perl Applications with Docker
- Using Perl for Data Science and Statistical Analysis
- Integrating Perl with Big Data Tools: Hadoop and Spark
- Monitoring Perl Applications: Using
Devel::NYTProf
and More
- Creating and Managing Perl Web Services
- Building a Full-Stack Application in Perl
- The Future of Perl: New Trends, Modern Features, and Community Projects
These chapters guide readers through the core features of Perl, from syntax and basic data types to more advanced topics such as database handling, web development, concurrency, and optimization techniques. They cater to both new users and experienced developers looking to deepen their Perl knowledge and apply it to a wide range of real-world problems.