Rothwell, William Bo

Advanced Perl Programming / William "Bo" Rothwell - 296 páginas

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
5058 |a 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
5058 |a 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
5058 |a 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
5058 |a 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

COBERTURA BIBLIOGRAFICA:
INF031
Asignatura : Lenguajes de programación en WWW

9781484258620


PERL (Programas para computador)

005.133 / R848