Pro Perl Programming: From Professional to Advanced

Author:   William Bo Rothwell
Publisher:   APress
Edition:   1st ed.
ISBN:  

9781484256046


Pages:   325
Publication Date:   29 February 2020
Format:   Paperback
Availability:   Not yet available   Availability explained
This item is yet to be released. You can pre-order this item and we will dispatch it to you upon its release.

Our Price $59.99 Quantity:  
Add to Cart

Share |

Pro Perl Programming: From Professional to Advanced


Add your own review!

Overview

Master intermediate to advanced techniques of the Perl programming language starting with a focus on regular expressions and some of their advanced features. This book then covers other pro-level features, including formatted output, file handling, and more. Additionally, you'll learn and explore the most useful built-in variables, pragmas, and modules available in the Perl language. Furthermore, you'll work with geometry managers and get a thorough treatment of graphical user interface development using Perl/TK and widgets. Lastly, you'll cover debugging techniques. Pro Perl Programming is a professional-level reference guide on Perl and includes important aspects of it that you need as a professional programmer. What You Will Learn Program regular expressions including atoms, smartmatch operators, and more Use advanced features such as HiRes Time, slurp() functions, Critic, Tidy and many more functions Handle advanced formatted output such as printf and sprintf Explore useful built-in variables, including status variables, separator variables, and the signal handle variable Explore and use Perl's built-in modules, including the Pragma modules Work with Perl/TK and its widgets-like geometry managers, frames, labels, buttons, check buttons, radio buttons, scrollbars, scales, entries, and menus Who This Book Is For Those with at least some prior experience with Perl programming or have read Beginning Perl Programming by William Rothwell.

Full Product Details

Author:   William Bo Rothwell
Publisher:   APress
Imprint:   APress
Edition:   1st ed.
Weight:   0.662kg
ISBN:  

9781484256046


ISBN 10:   1484256042
Pages:   325
Publication Date:   29 February 2020
Audience:   Professional and scholarly ,  Professional & Vocational
Format:   Paperback
Publisher's Status:   Active
Availability:   Not yet available   Availability explained
This item is yet to be released. You can pre-order this item and we will dispatch it to you upon its release.

Table of Contents

Chapter One Intermediate Regular Expressions1.1 Review: Basic Regular Expressions 1.2 Modifiers 1.3 Getting the Nth occurrence of a match 1.4 Greedy vs. Non-Greedy matches 1.5 Regular Expression variables 1.6 Special characters in regular expressions 1.7 Assertions 1.8 Reading from filehandles using split 1.9 Multiple line matching 1.10 Commenting Regular Expressions 1.11 Alternative Delimiters 1.12 Additional resources 1.13 Lab Exercises Chapter Two Advanced Regular Expressions2.1 Make use of the Smartmatch Operator2.2 Understand Regular Expression precedence2.3 Understand what is *NOT* a Regular Expression atom2.4 Using Regular Expressions in List Context2.5 Match whitespace properly2.6 Use \G2.7 Use the \A, \Z and \z assertions2.8 Avoid capturing 2.9 Avoid the variables $`, $& and $' 2.10 Compile your Regular Expressions before using them 2.11 Benchmark your patterns 2.12 Use Regexp::Common 2.13 Flags you should consider always using 2.14 Avoid escapes 2.15 Use the re Pragma 2.16 Understand backtracking Chapter Three Advanced Features3.1 Use my iterator variables with for loops3.2 Utilize loop labels3.3 Avoid using for file matching3.4 Time::HiRes3.5 Contextual::Return3.6 Indirect Filehandles3.7 The three argument technique to the open statement 3.8 Always check the return values of open, close and when printing to a file 3.9 Close filehandles as soon as possible 3.10 Avoid slurping 3.11 Creatively use the do statement3.12 Use the slurp() function3.13 Test for interactivity3.14 Use IO::Prompt3.15 Understand where to find documentation3.16 Understand context3.17 Understand the => operator3.18 Understand subroutine calls3.19 Understand and/or versus &/||3.20 Use Perl::Tidy3.21 Use Perl::Critic3.22 Understand Getopt::Std3.23 Understand Getopt::Long3.24 Alternative commenting technique 3.25 Passing notes within a Perl program 3.26 Use Smart::Comments Chapter Four Advanced Formatted Output4.1 Review: The format statement4.2 Advanced format statement features4.3 printf and sprintf4.4 Using select4.5 The operator4.6 Additional Resources4.7 Lab Exercises Chapter Five Exploring Useful Built-in Variables 5.1 Perl's built-in variables5.2 Variables reference chart 5.3 Use English5.4. Status variables 5.5 Separator variables5.6 The signal handle variable5.7 Version of Perl5.8 Program start time5.9 Additional Resources5.10 Lab Exercises Chapter Six Advanced File Handling6.1 Review: Basic File Handling6.2 Displaying the file position6.3 Moving the file position6.4 Opening files for reading and writing6.5 Making files within your script6.6 Locking files6.7 Flushing output buffers6.8 Additional Resources6.9 Lab Exercises Chapter Seven Pragmas 7.1 Perl pragmas7.2 Pragma chart7.3 Review: use strict7.4 Predeclaring subroutines7.5 Predeclaring global variables7.6 Additional Resources7.7 Lab Exercises Chapter Eight Exploring Useful Built-in Modules8.1 Built-in modules8.2 Module table8.3 Cwd8.4 Env8.5 File8.6 Math8.7 Sys8.8 Text8.9 Fatal8.10 Benchmark8.11 Getopt::Std8.12 Getopt::Long8.13 Additional Resources8.14 Lab Exercises Chapter Nine Debugging Tools 9.1 Review: The -w switch9.2 Review: The Perl debugger9.3 Debugger commands9.4 Diagnostics9.5 Carp9.6 Data::Dumper9.7 Additional Resources9.8 Lab Exercises Chapter Ten Perl/TK Basics10.1 Working with Windows10.2 Types of Widgets10.3 Geometry Managers10.4 Creating Widgets10.5 The OO nature of the Tk module10.6 Additional resources10.7 Lab Exercises Chapter Eleven Perl TK Widgets 11.1 Frames11.2 Labels 11.3 Buttons 11.4 Checkbuttons 11.5 Radiobuttons 11.6 Listboxes 11.7 Scrollbars 11.8 Scales 11.9 Entries 11.10 Creating menus11.11 Additional Resources 11.12 Lab Exercises Module Twelve Geometry Managers 12.1 pack options 12.2 The -after and -before option 12.3 The -anchor and -side options12.4 The -fill option 12.5 Padding with pack 12.6 Managing widgets with pack 12.7 Binding 12.8 The focus command 12.9 Additional Resources12.10 Lab Exercises

Reviews

Author Information

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.

Tab Content 6

Author Website:  

Customer Reviews

Recent Reviews

No review item found!

Add your own review!

Countries Available

All regions
Latest Reading Guide

wl

Shopping Cart
Your cart is empty
Shopping cart
Mailing List