Advanced Perl programming : from advanced to expert /: from advanced to expert. (2020)
- Record Type:
- Book
- Title:
- Advanced Perl programming : from advanced to expert /: from advanced to expert. (2020)
- Main Title:
- Advanced Perl programming : from advanced to expert
- Further Information:
- Note: William "Bo" Rothwell.
- Other Names:
- Rothwell, William "Bo"
- Contents:
- Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Chapter 1: Command-Line Options -- Changing input record separator -- Create a loop around your script -- Looping and printing -- Looping and parsing -- Editing in place -- Flexibility in backup filenames -- Backing up to different directories -- Syntax checking -- Pre-appending to @INC -- Manipulate @INC at compile time -- Using the -I option -- Including modules -- Using -M to load specific identifiers from modules -- Alternative syntax to -M -- Command-line parsing Displaying configuration information -- Extracting scripts from messages -- Handling extra text after end of script -- Additional resources -- Lab exercises -- Chapter 2: References -- Creating references -- Returning the value from a reference -- Other methods of referencing arrays -- Arrays of scalar references -- Another method of referencing hashes -- The ref function -- Making anonymous references -- Method #1 -- Method #2 -- Method #1 -- Method #2 -- References to functions -- use strict'refs' -- Making use of symbolic references -- Additional resources -- Lab exercises Chapter 3: Advanced Data Types: Arrays -- What you should already know about arrays -- Creating arrays -- Returning values in arrays -- Adding and removing elements in an array -- Looping through the array -- Array operators -- The reverse operator -- The sort operator -- The qw operator -- Array separator variable -- Regular expressionIntro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Chapter 1: Command-Line Options -- Changing input record separator -- Create a loop around your script -- Looping and printing -- Looping and parsing -- Editing in place -- Flexibility in backup filenames -- Backing up to different directories -- Syntax checking -- Pre-appending to @INC -- Manipulate @INC at compile time -- Using the -I option -- Including modules -- Using -M to load specific identifiers from modules -- Alternative syntax to -M -- Command-line parsing Displaying configuration information -- Extracting scripts from messages -- Handling extra text after end of script -- Additional resources -- Lab exercises -- Chapter 2: References -- Creating references -- Returning the value from a reference -- Other methods of referencing arrays -- Arrays of scalar references -- Another method of referencing hashes -- The ref function -- Making anonymous references -- Method #1 -- Method #2 -- Method #1 -- Method #2 -- References to functions -- use strict'refs' -- Making use of symbolic references -- Additional resources -- Lab exercises Chapter 3: Advanced Data Types: Arrays -- What you should already know about arrays -- Creating arrays -- Returning values in arrays -- Adding and removing elements in an array -- Looping through the array -- Array operators -- The reverse operator -- The sort operator -- The qw operator -- Array separator variable -- Regular expression matching with grep -- What you might know about arrays -- Changing #array changes the size of the array -- Arrays returned in scalar context returns the number of elements in the array -- Changing the variable in a foreach loop changes the array elements The _ variable is used by default in a foreach loop -- The foreach loop and for loops are the same thing -- Arrays of arrays -- Method #1 -- Make an array for each data type -- Method #2 -- Make an array for each transaction -- Method #3 -- Make an array of arrays -- Creating arrays of arrays -- Rows and columns -- Creating a multi-dimensional array from STDIN -- Accessing values in an array of arrays -- Adding a subarray (row) -- Adding a column -- Printing an array of arrays -- Additional resources -- Lab exercises -- Chapter 4: Advanced Data Types: Hashes What you should already know about hashes -- Creating associative arrays -- Accessing values in an associative array -- Removing associative array keys and values -- exists vs. defined -- What you might know about hashes -- Keeping order in hashes -- Additional useful hash modules -- Inverting a hash: method #1 -- Inverting a hash: method #2 -- Hashes of hashes -- Approach #1 -- Make four arrays, one for each student -- Approach #2 -- Make three associative arrays, one for each test -- Approach #3 -- Make a hash of hashes -- Creating hashes of hashes -- Accessing values in a hash of hashes … (more)
- Publisher Details:
- Berkeley, CA : Apress L.P
- Publication Date:
- 2020
- Extent:
- 1 online resource (296 pages)
- Subjects:
- 005.13/3
Perl (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781484258637
1484258630 - Related ISBNs:
- 1484258622
9781484258620 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.506406
- Ingest File:
- 04_029.xml