Beginning Perl programming : from novice to professional /
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 admini...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[New York, NY] :
Apress,
[2019]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Origin of Perl; Perl Development Environments; ∗nix/Windows; Which Derivative for ∗nix?; Which Derivative for Windows?; Pick Your Perl Development Tools; Perl Versions; What About Perl 6?; Understanding Perl Versions; Invoking Perl; The Command Line Method; The Interactive Method (Debugger); The Script Method; Perl Documentation; Perl Resources; Lab Exercises; Chapter 2: Scalar Variables; Numeric Literals; Manipulating Numbers; Mathematical Operations; Predefined Functions
- String LiteralsManipulating Strings; Alteration Operators; Predefined Functions; The Importance of Using Quotes; Strings vs. Numbers; The Assignment Operation; Single vs. Double Quotes; Double Quotes; Single Quotes; Scalar Variables; Undefined Variables; Auto-increment and Auto-decrement; Perl Magic with the Auto-increment Operator; Reading Data from the User; chomp and chop; The chop Statement; The chomp Statement; Curly Braces; Additional Resources; Lab Exercises; Chapter 3: Array Variables; Array Variables; Referencing Array Elements; # what?; Adding and Removing Elements in an Array
- The splice FunctionUsing the for Loop; Using the foreach Loop; Be Careful of the Iterator Variable; An Alternative to Using the for Statement; The reverse Statement; The sort Operator; Advanced sort Techniques; The qw and qq Statements; Arrays Used in Scalar Context; Additional Resources; Lab Exercises; Chapter 4: Associative Array Variables; Associative Array Variables; Creating Associative Arrays; Accessing Values with keys and foreach; Using keys on a Regular Array; Sorting the Output; Accessing Values in with "while-each" Loops; Be Careful While Using each; Resetting the Iterator
- Using each on ArraysReturning Keys Only with each; The values Statement; Reverse Searching an Associative Array; Removing Associative Array Keys and Values; exists vs. defined; Special Variables; The Environment Variables; The Argument Variable; Additional Resources; Lab Exercises; Chapter 5: Flow Control; Blocks; The if Statement; Using elsif; One-Line if Statement; The unless Statement; The switch Statement; The given Statement; The while Statement; The until Statement; The do Statement; Alternative to a do Statement; Alternative to a do Statement-Continued; Loop Control: last