Details

Advanced Perl Programming


Advanced Perl Programming

From Advanced to Expert

von: William Bo Rothwell

66,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 30.05.2020
ISBN/EAN: 9781484258637
Sprache: englisch

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

William "Bo" Rothwell's&nbsp;<i>Advanced Perl Programming</i>&nbsp;continues where his previous book left off, more or less, as it guides you through advanced techniques of the Perl programming language starting with command-line options, references, and arrays and hashes from advanced data types.&nbsp; Next, you'll learn about typeglobs for symbolic entries.&nbsp;&nbsp;<div><div><br></div>Additionally, you'll see advanced subroutine handling, then packages and namespaces.&nbsp; Furthermore, you'll build advanced modules and install CPAN modules. Unlike Java and C++, modules have been around in Perl for a long time now.&nbsp; Along the way, you'll learn and use POD mark up language for Perl documentation.&nbsp;&nbsp;<div><br></div><div>Moreover, you'll get a survey of the many advanced features and data structures of the current Perl programming language. You'll also get a survey of the new features of the latest Perl 5.x release. After reading and using this book, you'll have the tools, techniques, and source code to be an expert Perl programmer.&nbsp;&nbsp;</div><div><div><br></div><div><b>What You Will Learn</b><br></div><div><ul><li>Carry out command-line parsing and extract scripts&nbsp;</li><li>Create references; return values from a reference; work with the ref Function and strict refs</li><li>Work with advanced Perl data types using arrays, hashes, and hash of hashes&nbsp;</li><li>Use Typeglobs for symbol table entries&nbsp;</li><li>Build modules and install CPAN modules<br></li><li>Write documentation for Perl using POD&nbsp;</li><li>Work with the newest features in Perl, including the smartmatch operator, yada yada, automated regex modifiers, the CORE namespace and more<br></li></ul></div><div><b>Who This Book Is For</b><br></div><div><br></div><div>Those with experience with Perl or who have read Rothwell's prior books, <i>Beginning Perl Programming </i>and <i>Pro Perl Programming</i>.</div></div></div>
<div>Chapter One Command Line Options </div><div>1.1 Introducing Command Line Options</div><div>1.2 Changing Input Record Separator</div><div>1.3 Create a Loop Around Your Script</div><div>1.4 Editing in Place</div><div>1.5 Syntax Checking&nbsp;</div><div>1.6 Pre-appending to @INC</div><div>1.7 Including Modules</div><div>1.8 Command Line Parsing</div><div>1.9 Displaying Configuration Information</div><div>1.10 Extracting Scripts from Messages</div>1.11 Additional Resources<div>1.12 Lab Exercises</div><div><br></div><div>&nbsp;</div><div>Chapter Two References </div><div>2.1 What are References?</div><div>2.2 Creating References&nbsp;</div><div>2.3 Returning the Value from a Reference</div><div>2.4 The ref Function</div><div>2.5 Making Anonymous References</div><div>2.6 References to Functions</div><div>2.7 use strict ‘refs’</div><div>2.8 Additional Resources</div><div>2.9 Lab Exercises</div><div><br></div><div><br></div><div>Chapter Three Advanced Data Types: Arrays </div><div>3.1 Review: What You Should Already Know About Arrays</div><div>3.2 What You Might Know About Arrays</div><div>3.3 Arrays of Arrays</div><div>3.4 Creating Arrays of Arrays</div><div>3.5 Accessing Values in an Array of Arrays</div><div>3.6 Adding a Sub Array (Row)</div><div>3.7 Adding a column</div><div>3.8 Printing an Array of Arrays</div><div>3.9 Additional Resources</div><div>3.10 Lab Exercises</div><div><br></div><div><br></div><div>&nbsp;</div><div>Chapter Four Advanced Data Types: Hashes </div><div>4.1 Review: What You Should Already Know About Hashes</div><div>4.2 What You Might Know About Hashes </div><div>4.3 Hashes of Hashes</div><div>4.4 Creating Hashes of Hashes</div><div>4.5 Accessing Values in a Hash of Hashes</div><div>4.6 Other Data Structures</div><div>4.7 Additional Resources</div><div>4.8 Lab Exercises</div><div><br></div><div><br></div><div>Chapter Five Typeglobs </div><div>5.1 Symbolic Tables</div><div>5.2 Typeglobs</div><div>5.3 Using typeglobs</div><div>5.4 References vs. Typeglobs</div><div>5.5 Avoiding Aliases to Entire Identifier</div><div>5.6 Making constants</div><div>5.7 Passing Filehandles into Functions</div>5.8 Redefining a Function<div>5.9 Temporarily Redefining a Function</div><div>5.10 Additional Resources</div><div>5.11 Lab Exercises</div><div><br></div><div>&nbsp;</div><div>Chapter Six Advanced Subroutine Handling </div><div>6.1 Review: What You Should Already Know About Functions</div><div>6.2 What You Might Know About Functions</div><div>6.3 Making Persistent Function Variables</div><div>6.4 Using the caller Function</div><div>6.5 Passing Arguments by Reference</div><div>6.6 Determining Functions Return Data</div><div>6.7 Returning Multiple Values</div><div>6.8 Exception Handling</div><div>6.9 Constant Functions</div><div>6.10 Prototypes</div><div>6.11 Additional Resources</div><div>6.12 Lab Exercises</div><div><br></div><div><br></div><div>Chapter Seven Packages and Namespaces</div><div>7.1 Scope</div><div>7.2 Creating Namespaces with the package Command</div><div>7.3 Fully Qualified Package Names</div><div>7.4 Nested Packages</div><div>7.5 use strict 'vars'</div><div>7.6 Identifiers Not Affected by Packages</div><div>7.7 Determine the Current Package</div><div>7.8 Packages vs. my Variables</div>7.9 Additional Resources<div>7.10 Lab Exercises</div><div>&nbsp;</div><div>Chapter Eight Building Modules </div><div>8.1 Introduction to Perl Modules</div><div>8.2 Creating a Module</div>8.3 BEGIN and END Blocks<div>8.4 Symbol Tables in Modules</div><div>8.5 Exporting Identifiers from Modules</div><div>8.6 Private Identifiers</div><div>8.7 Oking Symbols to Export from Modules</div><div>8.8 Module Version Numbers</div><div>8.9 use vs. require</div><div>8.10 A Note About Library Files</div><div>8.11 Additional Resources</div><div>8.12 Lab Exercises</div><div><br></div><div><br></div><div>Chapter Nine Installing CPAN Modules</div><div>9.1 What is CPAN?</div><div>9.2 Accessing CPAN</div><div>9.3 CPAN Organization</div><div>9.4 Installing a CPAN Module Manually</div><div>9.5 Installing CPAN Modules Using the CPAN Module</div>9.6 Using the Perl Package Manager to Install CPAN Modules<div>9.7 Listing What Modules are Currently Installed</div><div>9.8 Additional Resources</div><div>9.9 Lab Exercises</div><div><br></div><div>&nbsp;</div><div>Chapter Ten POD</div><div>10.1 Overview of POD</div><div>10.2 POD Commands</div><div>10.3 POD Text</div><div>10.4 POD Verbatim</div><div>10.5 POD Examples</div><div>10.6 Common POD Problems</div><div>10.7 POD Utilities</div><div>10.8 Additional Resources</div><div>10.9 Lab Exercises</div><div><br></div><div>Chapter Eleven Advanced Features</div><div>11.1 Perl development environments</div>11.2 The power of the do statement<div>11.3 autodie</div><div>11.4 String variables as files</div><div>11.5 File::Spec</div><div>11.6 Proper use of soft references</div><div>11.7 Install modules from CPAN without admin privileges&nbsp;</div><div>11.8 Basic testing&nbsp;</div><div>11.9 Advanced testing&nbsp;</div><div>11.10 Using prove&nbsp;</div><div>11.11 Benchmarking</div><div><br></div><div>Chapter Twelve Advanced Data Structures</div><br><div>12.1 Introduction to Benchmarking</div><div>12.2 Use the Readonly module to create constants</div><div>12.3 Make large numbers more readable</div><div>12.4 Make use of Scalar::Util</div><div>12.5 Make use of List::Util</div><div>12.6 Make use of List::MoreUtils</div><div>12.7 List formatting</div><div>12.8 Understand slices</div><div>12.9 Make use of Hash::Util</div><div>12.10 Make use of Hash::MoreUtils</div><div>12.11 Smart use of subscripts</div><div>12.12 Understand the advantages and disadvantages of for, foreach, grep and map</div><div>12.13 Know different sort techniques</div><div>12.14 Avoid using memory to store large data</div><div><br></div><div>Chapter Thirteen New Features</div><div>12.1 Perl versions </div><div>12.2 The latest/greatest? </div><div>12.3 Changes by version</div><div>12.4 The feature pragma </div><div>12.5 Make use of the Smartmatch Operator </div><div>12.6 The // operator </div><div>12.7 The UNITCHECK block </div><div>12.8 Yada yada </div><div>12.9 The autodie pragma </div><div>12.10 Using each, keys, values with arrays </div>12.11 New Regular Expression modifiers <div>12.12 Non-destructive substation </div><div>12.13 Automating Regular Expression modifiers </div><div>12.14 New feature for given </div><div>12.15 Change in use feature </div><div>12.16 The CORE namespace </div><div>12.17 Overriding Perl keywords </div><div><br></div>
At the impressionable age of 14, William "Bo" Rothwell crossed paths with a TRS-80 Micro Computer System (affectionately known as a “Trash 80”).&nbsp; Soon after the adults responsible for Bo made the mistake of leaving him alone with the TSR-80.&nbsp; He immediately dismantled it and held his first computer class, showing his friends what made this “computer thing” work.&nbsp; 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.&nbsp; His experience includes Linux, Unix, DevOps tools, and programming languages such as Perl, Python, Tcl, and BASH.
William Rothwell's&nbsp;<i>Advanced Perl Programming</i>&nbsp;continues where his previous book left off, more or less, as it guides you through advanced techniques of the Perl programming language starting with command-line options, references, and arrays and hashes from advanced data types.&nbsp; Next, you'll learn about typeglobs for symbolic entries.&nbsp;&nbsp;<div><div><br></div>Additionally, you'll see advanced subroutine handling, then packages and namespaces.&nbsp; Furthermore, you'll build advanced modules and install CPAN modules. Unlike Java and C++, modules have been around in Perl for a long time now.&nbsp; Along the way, you'll learn and use POD mark up language for Perl documentation.&nbsp;&nbsp;<div><br></div><div>Moreover, you'll get a survey of the many advanced features and data structures of the current Perl programming language. You'll also get a survey of the new features of the latest Perl 5.x release. After reading and using this book, you'll have the tools, techniques, and source code to be an expert Perl programmer.&nbsp;&nbsp;</div><div><div><br></div><div>You will:<br></div><div><ul><li>Carry out command-line parsing and extract scripts&nbsp;</li><li>Create references; return values from a reference; work with the ref Function and strict refs</li><li>Work with advanced Perl data types using arrays, hashes, and hash of hashes&nbsp;</li><li>Use Typeglobs for symbol table entries&nbsp;</li><li>Build modules and install CPAN modules<br></li><li>Write documentation for Perl&nbsp;using POD&nbsp;</li><li>Work with the newest features in Perl, including the smartmatch operator, yada yada, automated regex modifiers, the CORE namespace and more</li></ul></div></div></div>
<p>Written by an accomplished Perl trainer and course teacher</p><p>Contains an advanced learning guide and reference to the Perl programming language</p><p>A contemporary treatment covering Perl 5.x and its newest features</p>

Diese Produkte könnten Sie auch interessieren:

Software Process Modeling
Software Process Modeling
von: Silvia T. Acuna, Natalia Juristo
PDF ebook
96,29 €
A Software Process Model Handbook for Incorporating People's Capabilities
A Software Process Model Handbook for Incorporating People's Capabilities
von: Silvia T. Acuna, Natalia Juristo, Ana Maria Moreno, Alicia Mon
PDF ebook
149,79 €
XML for Bioinformatics
XML for Bioinformatics
von: Ethan Cerami
PDF ebook
53,49 €