Skip to main content
  • Book
  • © 2019

Beginning Perl Programming

From Novice to Professional

Apress
  • Written by an experienced Perl trainer

  • A revision of a popular tutorial on Perl, updated for the latest Perl 5 standard

  • Explains how to effectively use the popular Perl programming language

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (14 chapters)

  1. Front Matter

    Pages i-xxi
  2. Origin of Perl

    • William “Bo” Rothwell
    Pages 1-16
  3. Scalar Variables

    • William “Bo” Rothwell
    Pages 17-39
  4. Array Variables

    • William “Bo” Rothwell
    Pages 41-55
  5. Associative Array Variables

    • William “Bo” Rothwell
    Pages 57-70
  6. Flow Control

    • William “Bo” Rothwell
    Pages 71-85
  7. Conditional Expressions

    • William “Bo” Rothwell
    Pages 87-99
  8. Basic Input and Output

    • William “Bo” Rothwell
    Pages 101-109
  9. Advanced Input and Output

    • William “Bo” Rothwell
    Pages 111-128
  10. Pattern Matching

    • William “Bo” Rothwell
    Pages 129-152
  11. Perl Utilities

    • William “Bo” Rothwell
    Pages 153-163
  12. Filesystem and Process Control

    • William “Bo” Rothwell
    Pages 165-174
  13. Functions

    • William “Bo” Rothwell
    Pages 175-188
  14. Using Modules

    • William “Bo” Rothwell
    Pages 189-193
  15. Debugging Perl

    • William “Bo” Rothwell
    Pages 195-198
  16. Back Matter

    Pages 199-202

About this book

Get started with Perl 5 and learn the important core concepts of Perl programming, such as variables, flow control, expressions, and I/O. Additionally, this book covers pattern matching and shows that Perl is extremely flexible and powerful, and that it isn’t afraid of the cloud. After reading and using this book, you'll be able to start writing your own powerful scripts to solve many web and programming problems.  

This is a book for those of us who believed that we didn’t need to learn Perl, and now we know it is more ubiquitous than ever. You’ll see that Perl has evolved into a multipurpose, multiplatform language present absolutely everywhere: heavy-duty web applications, the cloud, systems administration, natural language processing, and financial engineering. This book provides valuable insight into Perl’s role regarding all of these tasks and more giving you a great start in your Perl programming adventure.


What You Will Learn

  • Perform operations on scalar values
  • Use scalar, array, and associative array variables
  • Work with flow control statements such as if, unless, while, until, for, and foreach
  • Read and write directly to files with file handles 
  • Use conditional expressions such as numeric and string comparison, regular expressions, file testing, and Perl statements
  • Format output with format statements 
  • Search for and replace sub-strings within a string using regular expressions
  • Master Perl utilities such as split, join, index and more
  • Control the file system and processes from within a Perl script
  • Build functions for tasks including handling the scope of variables
  • Import existing modules into your Perl script


Who This Book Is For

Those who are new to Perl.


Reviews

“Novices who read it will gain a really good understanding of Perl statements and operations … .” (G. K. Jenkins, Computing Reviews, June 29, 2021)

Authors and Affiliations

  • San Diego, USA

    William "Bo" Rothwell

About the author

At the impressionable age of 14, William "Bo" Rothwell crossed paths with a TRS-80 Micro Computer System (affectionately known as a “Trash 80”).  Soon after the adults responsible for Bo made the mistake of leaving him alone with the TSR-80.  He immediately dismantled it and held his first computer class, showing his friends what made this “computer thing” work.  Since this experience, Bo’s passion for understanding how computers work and sharing this knowledge with others has resulting in a rewarding career in IT training.  His experience includes Linux, Unix, DevOps tools, and programming languages such as Perl, Python, Tcl, and BASH.


Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access