|
|
|
|
|
|
|
|
|
1. |
Record Nr. |
UNINA9910807918803321 |
|
|
Autore |
Poe Curtis |
|
|
Titolo |
Beginning Perl / / Curtis "Ovid" Poe |
|
|
|
|
|
Pubbl/distr/stampa |
|
|
Indianapolis, IN, : Wiley, 2012 |
|
|
|
|
|
|
|
ISBN |
|
1-283-59237-1 |
9786613904829 |
1-118-22187-7 |
|
|
|
|
|
|
|
|
Edizione |
[1st edition] |
|
|
|
|
|
Descrizione fisica |
|
1 online resource (748 p.) |
|
|
|
|
|
|
Disciplina |
|
|
|
|
|
|
Soggetti |
|
Perl (Computer program language) |
Computer programming |
|
|
|
|
|
|
|
|
Lingua di pubblicazione |
|
|
|
|
|
|
Formato |
Materiale a stampa |
|
|
|
|
|
Livello bibliografico |
Monografia |
|
|
|
|
|
Note generali |
|
|
|
|
|
|
Nota di contenuto |
|
Beginning Perl; Copyright; Credits; About the Author; About the Technical Editor; Acknowledgments; Contents; Introduction; Who this Book is for; If You Have No Programming Experience; If You're An Experienced Programmer; What this Book Covers; How this Book is Structured; What You Need to Use this Book; Conventions; Source Code; Errata; P2P.Wrox.Com; Chapter 1: What is Perl?; Perl Today; Getting Perl; Working with Non-Windows Platforms: perlbrew; Using Windows; The Perl Community; IRC; PerlMonks; Perl Mongers; StackOverflow; Using perldoc; Understanding the Structure of perldoc |
Getting Started with perldocUsing Tutorials and FAQs; Using the perldoc - f function; Using a Terminal Window; Using the Command Line; Creating a Work Directory; Creating Hello, World!; Writing Your First Program; Shebang Lines; Summary; Chapter 2: Understanding the CPAN; CPAN and METACPAN; Finding and Evaluating Modules; Downloading and Installing; CPAN Clients; Using the CPAN.pm Client; Using the Cpanm Client; PPM; CPAN::Mini; Summary; Chapter 3: Variables; What Is Programming?; A Few Things to Note Before Getting Started; strict, warnings, and diagnostics; The my Function; Sigils |
IdentifiersScalars; Strings; Numbers; Arrays; Breaking Down the Code; Accessing Elements; Iterating over Arrays; Hashes; Accessing Elements; Iterating Over Hashes; Adding Data to Hashes; Slices; Array Slices; Hash |
|
|
|
|
|
|
|
|
|
|
|
Slices; Context; Scalar Context; List Context; Scope; my Variables; Package Variables; Strict, Warnings, and Diagnostics; strict; warnings; diagnostics; Working Without a Net; Perl's Built-in Variables; _; %ENV; @ARGV; Other Special Variables; Summary; Chapter 4: Working with Data; Using Scalars; Working with Strings; Using String Operators; Scalar::Util; Numeric Builtins |
Bitwise OperatorsUnderstanding Booleans; Assignment Operators; Precedence and Associativity; Array and List Functions; Built-in Array Functions; List::Util; Built-in Hash Functions; delete(); exists(); keys(); values(); each(); Scoping Keywords; my(); local(); our(); state(); Summary; Chapter 5: Control Flow; Using the if Statement; Understanding Basic Conditionals; else/elsif/unless; The Ternary Operator ?:; for/foreach loops; Arrays; Lists; C-Style; Using while/until Loops; Lists; last/next/redo/continue; Labels; Statement Modifiers; Types of Statement Modifiers; do while/do until |
given/whenBasic Syntax; The Switch Module; Summary; Chapter 6: References; References 101; Array References; Hash References; Anonymous References; Other References; Working with References; Debugging; Copying; Slices; Summary; Chapter 7: Subroutines; Subroutine Syntax; Argument Handling; Multiple Arguments; Named Arguments; Aliasing; State Variables (Pre-and Post-5.10); Passing a List, Hash, or Hashref?; Returning Data; Returning True/False; Returning Single and Multiple Values; wantarray; FAIL!; ""Wake Up! Time to Die!""; carp and croak; eval; evalGotchas; Try::Tiny; Subroutine References |
Existing Subroutines |
|
|
|
|
|
|
Sommario/riassunto |
|
Everything beginners need to start programming with Perl Perl is the ever-popular, flexible, open source programming language that has been called the programmers' Swiss army knife. This book introduces Perl to both new programmers and experienced ones who are looking to learn a new language. In the tradition of the popular Wrox Beginning guides, it presents step-by-step guidance in getting started, a host of try-it-out exercises, real-world examples, and everything necessary for a Perl novice to start programming with confidence. Introduces Perl to both new programmers and |
|
|
|
|
|
|
|
| |